[Matplotlib-users] Mouse event blocked in 1.0 but works with 0.93 ?

2010-09-23 Thread David Trémouilles
Hello, I've just updated matplotlib to 1.0 svn version from 0.93. My pyqt4 app use the pick event. Cliking on a point in the graph triggers an event but with matplotlib 1.0 it does not anymore while it was working fine with 0.93. Any idea/help on where I should look for ? Thanks in advance,

Re: [Matplotlib-users] Mouse event blocked in 1.0 but works with 0.93 ?

2010-09-23 Thread Aman Thakral
Hi David, I'm using the pick event in wx (matplotlib 1.0) without any issues. Could you please post some sample code? Have you tried to see if legend.draggable() works? If so, the pick event is likely not an issue. -Aman On Thu, Sep 23, 2010 at 4:20 AM, David Trémouilles

Re: [Matplotlib-users] Mouse event blocked in 1.0 but works with 0.93 ?

2010-09-23 Thread David Trémouilles
OK, was able to narrow thinks down: actually it looks like figure.canvas.mpl_connect('pick_event', function) does not connect the function if it is a class method (...?) In attachment you will find two files illustrating this: buggy_pick.py and buggy_pick2.py Both work nicely with matplotlib 0.93

Re: [Matplotlib-users] Mouse event blocked in 1.0 but works with 0.93 ?

2010-09-23 Thread Ryan May
On Thu, Sep 23, 2010 at 9:16 AM, David Trémouilles david.t...@gmail.com wrote: OK, was able to narrow thinks down: actually it looks like figure.canvas.mpl_connect('pick_event', function) does not connect the function if it is a class method (...?) In attachment you will find two files

Re: [Matplotlib-users] Mouse event blocked in 1.0 but works with 0.93 ? (Solved)

2010-09-23 Thread David Trémouilles
Wonderful ! This does indeed solve my issue. Many many thanks, David Le 23/09/10 17:35, Ryan May a écrit : On Thu, Sep 23, 2010 at 9:16 AM, David Trémouillesdavid.t...@gmail.com wrote: OK, was able to narrow thinks down: actually it looks like figure.canvas.mpl_connect('pick_event',