Paul Kienzle wrote: > Hi, > > I went through all the demos in pylab_examples to make sure that > the artist.contains() method would return true when the mouse > is on the object. I fixed a number of problems caused by the > new transforms code (collections, lines and images were not > detected). A few issues remain, but they are not show stoppers. > [...] > Hit test issues: > > barb_demo: detecting filled areas but not lines > dashtick: not detecting dash ticks, except by tick > date_demo2: rotated text uses bounding box rather than rotated rectangle > newscalarformatter_demo: axis offset label not detected > quiver_demo: 1 m/s arrow legend not detected
I added a minimal contains method to QuiverKey, so I think this is at least partly fixed. The whole legend is detected. I left the returned dictionary empty. Eric > scatter_star_poly: plus and star not detected > > If you want to turn on hit testing for a plot, use: > > gcf().canvas.mpl_connect("motion_notify_event", > gcf().canvas.onHilite) > > > - Paul > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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