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.

Broken examples:

 barcode_demo, image_interp, etc: wx doesn't implement draw_image
 dannys_example: wx doesn't implement draw_tex
 font_table_ttf: list index out of range
 geo_demo: invalid value in projections.geo for x = ... / sinc_alpha
 multi_image: AxesImage has no attribute add_observer
 stix_fonts_demo: error
    UnicodeDecodeError: 'rawunicodeescape' codec can't decode
    bytes in position 39-0: \Uxxxxxxxx out of range
 symlog_demo: rendering causes the following error
    File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/transforms.py",
line 1072, in transform_point
      assert len(point) == self.input_dims
 running reindent.py causes lots of changes

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
 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

Reply via email to