Hi All, I'm trying to respond to double-click events on axis labels and tick labels. I'm using the wxAgg backend, and matplotlib directly, not through pylab. The matplotlib panels are wrapped into a bigger program.
Based on an thread between Andrea Gavana and Chris Barker back in Feb 06, I hacked a double-click event into backend_bases.py and backend_wx.py. This seems to work as expected; I can capture the double click events without any problem. Now for capturing pick events, the built-in pick function seems to rely on the selection being "inaxes" so I borrowed heavily from the object_picker.py demo to capture selecting the tick labels or the axis labels. My concern is that I'm reinventing the wheel. Being able to capture picks of the various labels seems like a natural thing to want to do (e.g. for modifying font properties, display format, etc). Is there an easier (erm, and better!) way to accomplish what I've done? Thanks, Anthony. -- Anthony Floyd, PhD Convergent Manufacturing Technologies Inc. 6190 Agronomy Rd, Suite 403 Vancouver BC V6T 1Z3 CANADA Email: [EMAIL PROTECTED] | Tel: 604-822-9682 WWW: http://www.convergent.ca | Fax: 604-822-9659 CMT is hiring: See http://www.convergent.ca for details ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users