Works for me!  Although I did not test with Jorges's original code which caused 
the regression.

Do you still want me to file a bug report so the issue is tracked?  

Thanks,
-Ben

-----Original Message-----
From: John Hunter [mailto:jdh2...@gmail.com] 
Sent: Monday, February 01, 2010 5:47 PM
To: Jae-Joon Lee
Cc: Ben Axelrod; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Label picker broken?
Importance: Low

On Mon, Feb 1, 2010 at 4:34 PM, John Hunter <jdh2...@gmail.com> wrote:
> On Mon, Feb 1, 2010 at 3:47 PM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote:
>
>> I agree.
>> Unfortunately, event handling is not my specialty, and given no 
>> response from other developers, I recommend you file a bug (and hope 
>> other developers fix this).
>
> I wrote the original functionality and example and do consider this a 
> regression, so do file a bug report and I'll try and get it fixed.

Here is the bug report and fix that caused the current regression


http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg11806.html

The solution I propose is to do the axes comparison test only when the 
mouseevent.inaxes is not None (which happens when you are outside the axes 
rectangle).  Then you could pick artists associated with an axes that are 
outside the rectangle, and still not get confused between two different axes 
with the same coord system.

Try svn r8106.

JDH

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to