情节不会在 Jupyter 中显示

Plot won't show in Jupyter

我是 python 的新手,我开始自学如何使用 link:

中的练习在 jupyter 上使用 pandas

http://nbviewer.jupyter.org/github/jvns/pandas-cookbook/blob/v0.1/cookbook/Chapter%201%20-%20Reading%20from%20a%20CSV.ipynb

我有一个问题,当我在 Jupyter 中执行时,1.3 的情节不会出现,我只得到以下输出:

matplotlib.axes._subplots.AxesSubplot at 0x8ad24a8>"

然而,当我 运行 在 Spyder 中使用相同的代码时,它确实出现了。有人知道为什么吗?这是我的代码:

 import pandas as pd
import os
fixed_df = pd.read_csv('bikes.csv', sep=';', encoding='latin1', parse_dates=['Date'], dayfirst=True, index_col='Date')
fixed_df['Berri1'].plot()

在绘图前添加以下代码:

%matplotlib inline