[matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Michael Droettboom
Paul Kienzle wrote: I went through the demo list again today. Here are some problems: $ python fonts_demo.py Traceback (most recent call last): File fonts_demo.py, line 31, in module font.set_name('Script MT') AttributeError: 'FontProperties' object has no attribute 'set_name'

Re: [matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Paul Kienzle
On Thu, Sep 06, 2007 at 08:14:19AM -0400, Michael Droettboom wrote: On a broader note, I've been using backend_driver.py as my ersatz acceptance test suite. Not all of these examples are included in it, of course. Is there good reason for that, or should I go ahead and add these to

Re: [matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Gael Varoquaux
On Thu, Sep 06, 2007 at 08:46:24AM -0400, Paul Kienzle wrote: We could store a copy of the png output somewhere in the svn tree. Then, whenever we change something we can do a binary comparison on all the plots. It would avoid issues such as breakage of polar plots where the author of the

Re: [matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Michael Droettboom
Paul Kienzle wrote: On Thu, Sep 06, 2007 at 08:14:19AM -0400, Michael Droettboom wrote: On a broader note, I've been using backend_driver.py as my ersatz acceptance test suite. Not all of these examples are included in it, of course. Is there good reason for that, or should I go ahead and

Re: [matplotlib-devel] backend_driver.py

2007-09-06 Thread Jouni K . Seppänen
Paul Kienzle [EMAIL PROTECTED] writes: We could store a copy of the png output somewhere in the svn tree. Then, whenever we change something we can do a binary comparison on all the plots. It would avoid issues such as breakage of polar plots where the author of the changes didn't consider

[matplotlib-devel] .bmp file saving

2007-09-06 Thread Michael Droettboom
The Agg backend has a feature where if bmp was specified as a file extension, it saves as a raw RGBA image. IMHO, this is perhaps too easily confused with the Microsoft Windows Bitmap format. There is a (someone else's) bug filed against this:

[matplotlib-devel] polar_demo output

2007-09-06 Thread Paul Kienzle
polar_demo agg and polar_demo pdf/ps/svg show different results. In agg, the spiral is clipped to the polar axes. In pdf/ps/svg it is clipped to the rectangle containing the axes. Note: I don't use polar plots, so I'm mentioning this for completeness only. - Paul

Re: [matplotlib-devel] polar_demo output

2007-09-06 Thread Michael Droettboom
I think this is a known bug (and maybe a bug should be filed so it doesn't get lost). Most of the backends don't have support for clipping which would be required for this to work. Cheers, Mike - This SF.net email is

Re: [matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Andrew Straw
Gael Varoquaux wrote: On Thu, Sep 06, 2007 at 08:46:24AM -0400, Paul Kienzle wrote: We could store a copy of the png output somewhere in the svn tree. Then, whenever we change something we can do a binary comparison on all the plots. It would avoid issues such as breakage of polar plots

Re: [matplotlib-devel] polar_demo output

2007-09-06 Thread Carl Worth
On Thu, 6 Sep 2007 19:44:51 -0500, John Hunter wrote: A minor correction -- all the backends support rectangular clipping -- but only agg supports polygon clipping currently. The polar axes uses a polygon approximation to a circle for the axes border which is used to clip the lines. I think

Re: [matplotlib-devel] polar_demo output

2007-09-06 Thread John Hunter
On 9/6/07, Michael Droettboom [EMAIL PROTECTED] wrote: I think this is a known bug (and maybe a bug should be filed so it doesn't get lost). Most of the backends don't have support for clipping which would be required for this to work. A minor correction -- all the backends support