SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Building documentation and matplotlibrc

From: Sandro T. <mo...@de...> - 2011年01月05日 17:49:25
On Wed, Jan 5, 2011 at 18:45, John Hunter <jd...@gm...> wrote:
> 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.
ehm that's what I meant with "configuring doc/matplotlibrc" - I did that :)
$ tail -n2 doc/matplotlibrc
examples.download : False # False to bypass downloading mechanism
examples.directory : /home/morph/deb/build-area/matplotlib-1.0.1~rc1/sampledata/
and sampledata is .. from doc
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /