[matplotlib-devel] Mouse event blocked in 1.0 but works with 0.93 ?

2010-09-23 Thread David Trémouilles
Hello, My pyqt4 app use the matplotlib pick event. Cliking on a point in the graph triggers an event but with matplotlib 1.0 it does not work anymore while it was working fine with 0.93. (Matplotlib version is only what was changed) Any one who might be aware of a matplotlib change that could hav

Re: [matplotlib-devel] 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.9

Re: [matplotlib-devel] [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émouilles > wrote: >> OK, was able to narrow thinks down: >> actually it looks like >> figure.canvas.mpl_connect('pick_event', function) >> does