how to solve it?

Michael Poeltl michael.poeltl at univie.ac.at
Mon Aug 1 08:51:16 EDT 2011


* 守株待兔 <1248283536 at qq.com> [2011-08-01 06:22]:
> from matplotlib.matlab import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named matlab

is this what you were looking for?
>>> from matplotlib.pylab import *

cheers
Michael
-- 
Michael Poeltl
Computational Materials Physics      voice: +43-1-4277-51409
Univ. Wien, Sensengasse 8/12         fax:   +43-1-4277-9514 (or 9513) 
A-1090 Wien, AUSTRIA   cmp.mpi.univie.ac.at 
--------------------------------------------------------------------------------
slackware-12.2/ubuntu-10.10 | vim-7.3 | python-3.2.1 | mutt-1.5.18 | elinks-0.12
--------------------------------------------------------------------------------



More information about the Python-list mailing list