On Sun, Feb 14, 2010 at 6:53 PM, David Arnold <dwarnol...@suddenlink.net> wrote: > All, > > Any Mac users out there? This script from the User Guide does not seem to > recognize entering or leaving a figure. Any thoughts?
My Mac is currently dead, but I developed these events while I was a mac user and so am pretty sure they worked. It is more likely a specific backend problem than a Mac vs non-Mac problem (eg it may be specific to the macosx backend but not a problem for macs in general) http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend Could you try running the script with the "use" directive at the top of your script (before any other mpl code) for different backends, eg tkagg vs macosx vs wxagg import matplotlib matplotlib.use('tkagg') # and also try macosx and wxagg so we can see exactly where the problem is arising. Also, run your script with --verbose-helpful and report the debugging output. Looking at the code, it appears the enter_notify_event and leave_notify_event are only defined for wx, qt and gtk currently, and so need to be implemented for tk and macosx. JDH ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users