When I wrote the test stuff I had forgotten all about the matplotlibrc stuff.  
I think it would make sense to just use a default
(empty) matplotlibrc for the tests, this way we are always testing against the 
defaults.  If the defaults ever change it would also
allow us to more easily catch those changes to note if there is any negative 
consequences of the change.

Do the defaults ever differ based upon platform?  Backend? Phase of the moon?

--James Evans

> Date: Wed, 20 May 2009 10:32:12 -0500
> From: John Hunter <jdh2...@gmail.com>
> Subject: Re: [matplotlib-devel] Tests and matplotlibrc
> To: Ryan May <rma...@gmail.com>
> Cc: Ted Drain <ted.dr...@jpl.nasa.gov>, "Evans,       James R"
>       <james.r.ev...@jpl.nasa.gov>, Matplotlib Devel????
>       <matplotlib-devel@lists.sourceforge.net>
> Message-ID:
>       <88e473830905200832u4331f78fq21523b4099df6...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On Wed, May 20, 2009 at 10:27 AM, Ryan May <rma...@gmail.com> wrote:
> 
> > Thanks, I wasn't aware of that.  It seems that if I just put an empty
> > matplotlibrc file in that directory, it serves the same purpose.  Can I just
> > check that in (perhaps containing only a clarifying comment) so that it
> > stays in sync with the current matplotlib defaults?
> 
> Not sure what is the best way here -- one is to put in an rc w/
> everything uncommented for the tests, so that even if the mpl defaults
> change the regression suite won't break.  The other is to assume the
> defaults in the test suite (empty rc) and if someone changes an rc
> default it breaks the test suite.  Perhaps James or Ted have a
> view/preference?
> 
> JDH


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to