#%matplotlib inline magic — this enables Jupyter to generate the graphs. import matplotlib.pyplot as plt %matplotlib inline plt.plot() plt.show()