Hi John, On Wednesday 23 April 2008 12:28:11 John Reid wrote: > I'm on Windows with python 2.5. How do I find the version of matplotlib? > I think it is fairly recent (within last 6 months anyhow).
import matplotlib print matplotlib.__version__ > Shouldn't an error be raised? On my Kubuntu 7.10 and WinXP with matplotlib 0.91.2 an error is raised in python and ipython. Something like: <type 'exceptions.TypeError'>: Object does not appear to be a path or a Python file-like object . regards Matthias > See: > > C:\Dev\MyProjects\Bio\hmm\python>python > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > > >>> from pylab import figure, savefig > >>> figure() > > <matplotlib.figure.Figure instance at 0x0191D210> > > >>> savefig(None) > > C:\Dev\MyProjects\Bio\hmm\python>python > > > ... and so back to DOS prompt > > > John. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users