Re: [Matplotlib-users] additions to lasso_demo.py

2007-02-05 Thread John Hunter
On 2/5/07, JJ <[EMAIL PROTECTED]> wrote: > I am just learning and do have a couple of questions. > Why is the lock on lasso needed in the original demo. > For my revised version, it works better without it (a > right click without dragging caused an infinite lock). The locking is designed to prev

[Matplotlib-users] additions to lasso_demo.py

2007-02-05 Thread JJ
Hello. In case it is of use to anyone, here is a revised lasso_demo.py that draws a polygon around selected points, deletes points with a click of the middle mouse button, and adds points with a right click. Thanks John H for the help getting started. I am just learning and do have a couple of q