On Sun, Jul 08, 2007 at 03:04:41AM -0400, Paul Kienzle wrote: > I submitted the 'contains' patch to the patch tracker on sourceforge.
I've updated the 'contains' patch to handle figure enter/leave, at least on wx backends, and fixed a minor hit test bug in ellipse. I've also removed the special status of the pick event notifier, using the mpl_connect event processing framework to handle it. You can attach the enter/leave artist highlighting demo to a figure using: figure.canvas.mpl_connect("motion_notify_event",figure.canvas.hilite) You can disable pick on a figure using: fig.canvas.mpl_disconnect(fig.canvas.button_pick_id) fig.canvas.mpl_disconnect(fig.canvas.scroll_pick_id) Now I can work on an event handling framework which connects directly to the artists rather than filtering all callbacks to the same pick function. I'll mostly follow tk canvas handling conventions unless anyone has suggests for a better approach. - Paul ------------------------------------------------------------------------- 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel