On Wed, Jan 21, 2009 at 6:38 AM, mzs <m...@thebrookhavengroup.com> wrote: > > Yes, I did have an typo in when reporting the problem, it should be pyplot > not plot. However, the problem is with pyplot anyway. The version of > matplotlib is 0.90.1 as shown here: > > >>> import matplotlib.pyplot as plt > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named pyplot > >>> import matplotlib > >>> print matplotlib.__version__ > 0.90.1 > >>>
In the early releases of matplotlib, the procedural plotting interface of matplotlib resided in "pylab", which also mixed in a lot of numerical routines from numpy and other places. *After* the release of 0.90.1, Eric Firing reorganized the plotting functions into a separate module "matplotlib.pyplot" so people could access them w/o having to get all of the numpy functions in the same namespace. See http://matplotlib.sourceforge.net/faq/usage_faq.html#matplotlib-pylab-and-pyplot-how-are-they-related The version you are using is 2 years old, so you may want to consider upgrading. But you can get the same functionality with 0.90.1 by simply >>> import pylab as plt instead of >>> import matplotlib.pyplot as plt JDH ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users