【发布时间】:2015-10-15 01:42:48
【问题描述】:
我安装了 anaconda 来使用 pandas 和 scipy。我正在阅读和观看 pandas 教程,他们都说要使用打开 ipython 笔记本
ipython notebook --pylab==inline
但是当我这样做时,我会收到一条消息说
"Support for specifying --pylab on the command line has been removed. Please use '%pylab = inline' or '%matplotlib =inline' in the notebook itself"
但这不起作用。然后,当我尝试“plot(arange(10))”时,我收到一条消息,说“name 'plot' is not defined”。我尝试从 .csv 文件中绘制数据并得到
"matplotlib.axes._subplots.AxesSubplot at 0xebf8b70".
我该怎么办?
【问题讨论】:
-
在笔记本中尝试
%matplotlib inline(注意缺少=符号)。 -
试试这里的说明:*.com/questions/19410042/…