Thank you for the information. I figured out that using pylab works. I would rather use a current version. I tried to find the version you mentioned in a deb package for Ubuntu but it doesn't seem to exist. Do you know why or where can I get it?
Thank you again. Marc John Hunter-4 wrote: > > 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 > > -- View this message in context: http://www.nabble.com/ImportError%3A-No-module-named-pyplot-tp21576482p21583697.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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