matplotlib1.1.1在SLES11sp1 +python2.6上安装成功后,发现没有matplotlib.pyplot模块,同样matplotlib1.2+python3.3+win7情况一样,现在还不明情况。
---经过多次测试,发现只要调用pyplot( import matplotlib.pyplot as plt ),然后再敲入matplotlib.(tab键)就可以看到pyplot模块了。
bill131:/usr/lib64/python2.6/site-packages # ipython
Python 2.6 (r26:66714, May 5 2010, 14:02:39)
Type "copyright", "credits" or "license" for more information.
IPython 0.12 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import matplotlib
In [2]: matplotlib.
matplotlib.RcParams matplotlib.generators matplotlib.rcParamsOrig
matplot