On Sat, Jul 26, 2008 at 5:26 PM, Paul Kienzle <[EMAIL PROTECTED]> wrote:

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

Thanks for the comprehensive tests.  I've had a minute to work on a
couple of these before I have to run out
>
> Broken examples:
>
>  barcode_demo

fixed -- added to backend_driver

> image_interp, etc: wx doesn't implement draw_image

I'm not too concerned about wx, and am somewhat inclined to pull it,
especially now that we have support for external backends so those who
need it can use it.    I won't pull it for this cycle.  Anyone who
loves wx, now is the time to step up andstart adding support for
missing features like images and mathtext.

But this example revealed a serious problem for wxagg -- the wx
backend save method was getting triggered.  So wxagg couuld display an
image, but if we try to save it, it fails because backend_wx's
print_figure is getting called.  I fixed this by reversing the order
of the inheritance in FigureCanvasWXAgg so that FigureCanvasAgg is
first.  *please test*.

>  dannys_example: wx doesn't implement draw_tex

not concerned here about wx, but we need to make sure wxagg is working
here (confirmed)

>  font_table_ttf: list index out of range

punting for now

>  geo_demo: invalid value in projections.geo for x = ... / sinc_alpha

added to the sf bug tracker, assigned to Michael.  Added to
backend_driver (failing now)

>  multi_image: AxesImage has no attribute add_observer

fixed in svn to use the new callbacks API for scalar mappables.  Added
to backend_driver

OK, that's all I have time for now.  I'll take a look at the others
later.  Thanks a lot

JDH

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

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