From: Steve Chaplin <stevech1097@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:
The problem seems to be that process_docs.py is expecting to read many
"matplotlib.*.html" files, but these files do not exist.
From: John Hunter <jdhunter@ac...> - 2004-01-05 15:26:20
>>>>> "Steve" == Steve Chaplin <stevech1097@...> 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.
From: matthew arnison <maffew@ca...> - 2004-02-17 23:19:04
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
The good news is I got it to work and it looks very handy indeed. It has
The bad news is it didn't work first go (and I think this is why I didn't
try it out earlier):
: No such file or directory
The above fails, but the below works. I tried changing the first line from
But it didn't help, even though that works on other scripts of mine. But
the below works:
~/downloads/matplotlib/examples$ python ./interactive.py
Welcome to matplotlib.
help(matlab) -- shows a list of all matlab compatible commands
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.