Hello, list.

I have created a runnable sample app that demonstrates the problem
(mentioned also in another thread) in the subject line.  The sample is:

- mpl 1.0 embedded in wxPython using wxAgg backend.
- using plot() for simplicity, but see same issue if it is plot_date().  (I
do date plotting).
- using twinx to have a 2nd axis (in the problematic case).
- trying to have point picking on both axes.

You can demonstrate the problem by first running the app and clicking on one
red marker and then one blue marker.  The message dialog will, each time,
indicate the line/pos you picked, and it will work for both the red and blue
markers.

But then if you comment out line 52 and comment in line 56, thereby adding a
second axis, you will find you can *only pick the red markers* (which are on
the first axis).

This problem did not occur in my previous (0.98.5.2) version of matplotlib.


In addition, in my app, I also have a legend, and--only if I have a 2nd
axis--I cannot pick that, either.  (I kept it out of this sample to keep
things simpler).

Thank you for any help or suggestions to get this to work.

-Che

Attachment: 2nd_axis_picking_problem.py
Description: Binary data

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to