From: John H. <jd...@gm...> - 2011-01-05 17:46:02
|
On Wed, Jan 5, 2011 at 11:41 AM, Sandro Tosi <mo...@de...> wrote: > > +def rc_file_defaults(): > > + """ > > + Restore the default rc params from the original matplotlib rc that > > + was loaded > > + """ > > + rcParams.update(rcParamsOrig) > > + > > _use_error_msg = """ This call to matplotlib.use() has no effect > > because the the backend has already been chosen; > > matplotlib.use() must be called *before* pylab, matplotlib.pyplot, > > > I take the patch is not complete, right? because naively applying it > in a just-untarred source code + configuring doc/matplotlibrc don't > work (ie keeps trying accessing the net) > > Well, that is the default behavior. You still have to untar, and set the examples.directory rc parameter as Ben discussed to do a no download doc build. So you'll want to patch doc/matplotlibrc to set this param. JDH |