Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Andrew Straw
Jouni K. Seppänen wrote: Andrew Straw straw...@astraw.com writes: Michael Droettboom wrote: We can probably standardize the version of gs on the buildbot machines, but it's been very useful up to now to have tests that can run on a variety of developer machines as well.

Re: [matplotlib-devel] ValueError: too many values to unpack building docs

2009-09-23 Thread Sandro Tosi
On Tue, Sep 22, 2009 at 16:21, Michael Droettboom md...@stsci.edu wrote: On second look, I think it's the --small commandline option that breaks this.  I hadn't tested my recent changes to the plot directive with that flag.  The new version of make.py in SVN r7815 should fix this. Thanks for

Re: [matplotlib-devel] 0.99.1 and the setup.cfg file

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 8:47 AM, Lev Givon l...@columbia.edu wrote: contain a setup.cfg file: $ tar zft matplotlib-0.99.1.tar.gz |grep setup.cfg matplotlib-0.99.1/setup.cfg matplotlib-0.99.1/setup.cfg.template It seems to depend on which mirror you get the file from. From Voxel, I see

Re: [matplotlib-devel] 0.99.1 and the setup.cfg file

2009-09-23 Thread Lev Givon
Received from John Hunter on Tue, Sep 22, 2009 at 09:57:37PM EDT: On Tue, Sep 22, 2009 at 5:38 PM, jason-s...@creativetrax.com wrote: I just downloaded 0.99.1 and ran into some problems using it in Sage. Basically, in the tar.gz file, there was a setup.cfg file, which had the following:

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Jouni K . Seppänen
Andrew Straw straw...@astraw.com writes: Jouni - I don't think this would be hard to add, but I'm swamped at work. If this is an itch you'd like to scratch, feel free to hack away on the image_comparison() function in lib/matplotlib/testing/decorators.py -- it's a pretty straightforward

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 10:48 AM, Jouni K. Seppänen j...@iki.fi wrote: Andrew Straw straw...@astraw.com writes: Jouni - I don't think this would be hard to add, but I'm swamped at work. If this is an itch you'd like to scratch, feel free to hack away on the image_comparison() function in

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Jouni K . Seppänen
John Hunter jdh2...@gmail.com writes:    pyplot.savefig('foo1') Take a look at the pyplot switch_backends function. Yes, that function was on the next line after the part you quoted. :-) It calls matplotlib.use with warn=False, but that function ends up doing nothing. Alternatively, agg

Re: [matplotlib-devel] ValueError: too many values to unpack building docs

2009-09-23 Thread Michael Droettboom
That file was moved. I think I had a lingering .pyc lying around which is why it didn't fail on me. I have updated conf.py to import it from the right place. Hopefully it's working now. Cheers, Mike On 09/23/2009 10:09 AM, Sandro Tosi wrote: On Tue, Sep 22, 2009 at 16:21, Michael

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Andrew Straw
Jouni K. Seppänen wrote: John Hunter jdh2...@gmail.com writes: pyplot.savefig('foo1') Take a look at the pyplot switch_backends function. Yes, that function was on the next line after the part you quoted. :-) It calls matplotlib.use with warn=False, but that function

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call the test function multiple times, having switched the backend between invocations. Thus, the call to savefig() would

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Andrew Straw
John Hunter wrote: On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call the test function multiple times, having switched the backend between invocations. Thus, the call

Re: [matplotlib-devel] plt.figure() causes crash on OS X 10.5.7, Py26 binaries

2009-09-23 Thread David Warde-Farley
(reply-all this time, I'm too used to scipy.org's reply-to munging) On 18-Sep-09, at 9:36 PM, John Hunter wrote: On Fri, Sep 18, 2009 at 7:01 PM, Andrew Straw straw...@astraw.com wrote: Maybe the MPL binary was built with a numpy svn version that had API incompatibilities with numpy

Re: [matplotlib-devel] ValueError: too many values to unpack building docs

2009-09-23 Thread Sandro Tosi
On Wed, Sep 23, 2009 at 19:21, Michael Droettboom md...@stsci.edu wrote: That file was moved.  I think I had a lingering .pyc lying around which is why it didn't fail on me. yeah, here too: I saw it only after cleaning up the svn checkout.  I have updated conf.py to import it from the right

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 12:56 PM, Andrew Straw straw...@astraw.com wrote: John Hunter wrote: On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call the test function multiple

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread Andrew Straw
John Hunter wrote: On Wed, Sep 23, 2009 at 12:56 PM, Andrew Straw straw...@astraw.com wrote: John Hunter wrote: On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator