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
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
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.
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
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
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
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
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