SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Building documentation and matplotlibrc

From: John H. <jd...@gm...> - 2011年01月05日 18:10:57
On Wed, Jan 5, 2011 at 12:05 PM, Sandro Tosi <mo...@de...> wrote:
>
> yes, it's the version I'm going to use for the RC, that's because
> version 1.0.1~rc1-1 is lower than 1.0.1-1 (debian versions) and so
> uploading an RC package will not prevent for the final release to be
> uploaded (1.0.1rc1-1 is bigger than 1.0.1-1). Do you think that might
> be the problem?
>
>
I'm not sure -- tilde has special meanings in paths, eg ~jdhunter is my home
directory. But even if you had the wrong path, it should cause an error,
not an internet download. Are you running the doc build from the doc
directory. It is important that the cwd is doc when you start the doc
build.
The code in matplotlib.cbook.get_sample_data reads:
 if not matplotlib.rcParams['examples.download']:
 directory = matplotlib.rcParams['examples.directory']
 f = os.path.join(directory, fname)
 if asfileobj:
 return open(f, 'rb')
 else:
 return f
So if the rc file is getting picked up and examples.download is set to
False, the code cannot reach the network as far as I can see.

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