On Wed, Nov 26, 2008 at 10:41 AM, Drain, Theodore R
<[EMAIL PROTECTED]> wrote:

> I'm pretty sure this is exactly what's happening.  This is also annoying when 
> you're trying to use a zoom rectangle and want to start at some point in the 
> plot and drag it to the boundary.  We've been planning on putting some time 
> in to fix this this but just haven't been able to make the time yet.
>
> I think one possible solution is that anytime the mouse moves outside the 
> axes, it should get one last event that is at the boundary which would 
> require tracking which axes the last event was sent in.  We haven't tried to 
> see how hard that is to implement thought...

probably fairly easy using a class level attr in the MouseEvent.
Another possibility would be to add support for figure_enter_event,
figure_leave_event, axes_enter_event, axes_leave_event.  The user code
would have to separately process the axes_leave_event but this might
be the cleanest solution.  I am happy to add support for these ...

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to