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 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 your reply!

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 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 setup.cfg but from

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, 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: > > This was a bug in

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

2009-09-23 Thread Jouni K . Seppänen
Andrew Straw 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 > piece of code. Cha

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 wrote: > Andrew Straw 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/d

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

2009-09-23 Thread Jouni K . Seppänen
John Hunter 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 knows how to s

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 Droettboo

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

2009-09-23 Thread Andrew Straw
Jouni K. Seppänen wrote: > John Hunter 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 en

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 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 continue not to exp

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

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 > wrote: > >> Maybe the MPL binary was built with a numpy svn version that had API >> incompatibilities with numpy releases? > > I bu

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

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 wrote: > John Hunter wrote: >> On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw wrote: >> >> >>> Sorry, I should have been more clear. I was thinking that the >>> image_compare() decorator would call the test function multiple times, >>> having switche

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 wrote: > >> John Hunter wrote: >> >>> On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw wrote: >>> >>> >>> Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call t