Python在绘制图时,出错。
import matplotlib.pyplot as plt %matplotlib inline s = pd.Series(np.random.normal(size = 10)) s.plot()
jupyter中运行提示:
没有安装matplotlib模块
解决方法使用pip安装matplotlib
在DOS窗口输入:pip install matplotlib
再次运行jupyter notebook的代码,就可以了。

Python在绘制图时,出错。
import matplotlib.pyplot as plt %matplotlib inline s = pd.Series(np.random.normal(size = 10)) s.plot()
jupyter中运行提示:
没有安装matplotlib模块
解决方法使用pip安装matplotlib
在DOS窗口输入:pip install matplotlib
再次运行jupyter notebook的代码,就可以了。