Re: [Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
OK, a little bit more of manual reading I got the "drag point" working. Now, even though it works, I would like the opinion of someone with more experience on event handling to improve that. Thanks, Filipe On Wed, Sep 12, 2012 at 6:14 PM, Filipe Pires Alvarenga Fernandes wrote: > After some mod

Re: [Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
After some modifications and manual reading I got "insert" point and "delete" point working, but I still cannot make the "drag" point work... -Filipe On Wed, Sep 12, 2012 at 4:04 PM, Filipe Pires Alvarenga Fernandes wrote: > Hi all, > > I am trying to create a class to edit the points of a plot

[Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
Hi all, I am trying to create a class to edit the points of a plot based on the poly_editor.py example. However, I have very little experience with even handling and I need some help. Here is what I did so far, the "toggle" on/off works fine. Also I believe that actions "press", "release", "ins