Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-02-14 Thread Stephan Markus
That solution might be fine for static plots, but I my case I prefer my solution. My plot is quite interactive so using your solution causes many problems with my code. -- View this message in context: http://old.nabble.com/onpick-on-a-2-y-plot-%28-via-twinx%28%29-%29-seems-to-only-allow-pick

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-02-11 Thread C M
On Thu, Jan 20, 2011 at 4:44 AM, Stephan Markus wrote: > > Hello! > > I am also using two axes in a plot and want to be able to pick the lines of > both axes. > So far I used MPL 0.99.3 and a button on my interface to change the z-order > of the axes in order to be able to pick lines of the "activ

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-02-10 Thread Stephan Markus
Right now I use a customized FigureCanvasTkAgg and overwrite the draw() and resize() methods to reset the z-order of the axes before drawing / resizing the figure and to restore the desired z-order afterwards. This works quite well but it would be nice to have the picking work like in version <=0.

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-01-20 Thread Stephan Markus
Hello! I am also using two axes in a plot and want to be able to pick the lines of both axes. So far I used MPL 0.99.3 and a button on my interface to change the z-order of the axes in order to be able to pick lines of the "active" axes and to see the correct x/y data in the navigation toolbar. T

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-20 Thread othererik
John, Thanks for the information. The solution worked so, I can now do a mouse over over lines from either axes and have a nice little tooltip, etc. I found that if I change the zorder of the axis right after attempting to "pick" on the mouse event, it fails, but it's fine for my needs to just t

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-19 Thread John Hunter
On Thu, Aug 13, 2009 at 12:51 PM, Erik Schweller wrote: > Good day, > > I've hit an issue that may be a bug.  In a previous version of > matplotlib (.98.x) I had a picker set for lines plotted on two axes. > This was working until I upgraded to version 0.99.0.   Now the first > axes's pick events n

[Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-19 Thread othererik
Good day, I've hit an issue that may be a bug. In a previous version of matplotlib (.98.x) I had a picker set for lines plotted on two axes. This was working until I upgraded to version 0.99.0. Now the first axes's pick events never seem to fire even though they respond true if queried with pi

[Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-19 Thread Erik Schweller
Good day, I've hit an issue that may be a bug. In a previous version of matplotlib (.98.x) I had a picker set for lines plotted on two axes. This was working until I upgraded to version 0.99.0. Now the first axes's pick events never seem to fire even though they respond true if queried with pic