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. |