SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Building documentation and matplotlibrc

From: John H. <jd...@gm...> - 2011年01月05日 22:22:44
On Wed, Jan 5, 2011 at 3:49 PM, Sandro Tosi <mo...@de...> wrote:
> On Wed, Jan 5, 2011 at 20:31, John Hunter <jd...@gm...> wrote:
>> On Wed, Jan 5, 2011 at 1:23 PM, Sandro Tosi <mo...@de...> wrote:
>>>
>>> On Wed, Jan 5, 2011 at 19:48, Sandro Tosi <mo...@de...> wrote:
>>> > ehm... no, I'm testing it the rc + your patch, sorry :) I'm updating
>>> > my local svn copy and try again
>>>
>>> Ok, I'm trying with trunk now (or those changes are on another
>>> branch?), and it stops at
>>
>>
>> We're working in the release branch. Changes have not been made to trunk.
>>
>> svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint
>> mpl1
>
> I tried with that branch, but I had no luck :( it still tries to
> download stuff from the net, whatever I set as examples.directory in
> matplotlibrc (yes, I'm trying to compile inside doc/ and I have
> 'examples.download : False' set) and/or MATPLOTLIB_SAMPLE_DATA . JFTR
> the cmdline I'm using is:
>
> morph@zion:~/deb/upstream_checkout/mpl1/doc$
> MATPLOTLIB_SAMPLE_DATA=/home/morph/deb/upstream_checkout/mpl1/sampledata/
> MATPLOTLIBDATA=../lib/matplotlib/mpl-data/
> PYTHONPATH=../build/lib.linux-x86_64-2.6/ ./make.py --small all
>
> $ tail -2 matplotlibrc
> examples.download : False # False to bypass downloading mechanism
> examples.directory : /home/morph/deb/upstream_checkout/mpl1/sampledata/
OK, I found the problem. Somehow my edit to sphinxext.plot_directive
to actually call the new function was not saved and committed. I just
fixed this, so the branch *should* work. The branch
matlpotlib/sphinxext/plot_directive.py should call rc_file_defaults
rather than rcdefaults. After an svn up, confirm that this is so
before testing.
JDH

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 によって変換されたページ (->オリジナル) /