SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Steve C. <ste...@ya...> - 2004年01月03日 07:38:41
I'm using matplotlib 0.40 from CVS and am trying to generate the html
docs as described in matplotlib/htdocs/README. This is the error I get:
$ python process_docs.py
 Converting matplotlib.cbook.html to template
Traceback (most recent call last):
 File "process_docs.py", line 20, in ?
 s = file('../docs/' + fname).read()
IOError: [Errno 2] No such file or directory:
'../docs/matplotlib.cbook.html'
The problem seems to be that process_docs.py is expecting to read many
"matplotlib.*.html" files, but these files do not exist.
Steve
---
From: John H. <jdh...@ac...> - 2004年01月05日 15:26:20
>>>>> "Steve" == Steve Chaplin <ste...@ya...> writes:
 Steve> The problem seems to be that process_docs.py is expecting
 Steve> to read many "matplotlib.*.html" files, but these files do
 Steve> not exist.
Yep, this is a doc bug in the README file. You need to first build the
class docs from the matplotlib root
 > make htmldocs
This will build all the matplotlib html class docs in the 'docs'
subdir, which process_docs.py assumes are there. If all you want are
the class docs, this is all you will need to do. process_docs and the
rest of the files in htdocs build the matplotlib web site.
I've updated the README file -- thanks for letting me know.
JDH
From: matthew a. <ma...@ca...> - 2004年02月17日 23:19:04
Hi
Great to see another release with lots of improvements. Motivated by your 
new FAQ and the web page about interactive usage, I tried interactive.py 
again.
The good news is I got it to work and it looks very handy indeed. It has 
autocomplete! Yay!
The bad news is it didn't work first go (and I think this is why I didn't 
try it out earlier):
~/downloads/matplotlib/examples$ ./interactive.py
: No such file or directory
The above fails, but the below works. I tried changing the first line from
#!/usr/bin/env python
to
#!/usr/bin/python
But it didn't help, even though that works on other scripts of mine. But 
the below works:
~/downloads/matplotlib/examples$ python ./interactive.py
['./interactive.py']
Welcome to matplotlib.
 
 help(matlab) -- shows a list of all matlab compatible commands 
provided
 help(plotting) -- shows a list of plot specific commands
 
>> plot([1, 2, 3])
[<matplotlib.lines.Line2D instance at 0x8399054>]
Interactive use easily justifies me wrapping this with a script so I can 
jump into it easily form the command line, but I thought this might affect 
other people trying interactive.py for the first time. I'm not quite sure 
how to debug the problem. I'm using bash under Linux by the way.
m.
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 によって変換されたページ (->オリジナル) /