Hi, I was trying to find out when a button_press_event happened inside a patch (tried Circle and Rectangle) using the contains(mouseevent) method, but it always seem to return True. I got the inspiration from the looking_glass.py example, which also doesn't work as (Ithink) it should. I know Ican do this the hard way, i.e. checking with event.xdata event.ydata, but I was really happy there was already a pre-defined method for doing so.
Cheers, Jorge ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users