In [ ]:
# %matplotlib inline
import matplotlib.pyplot as plt
import numpy as np

a = np.arange(10)
b = a*a+a+2
plt.plot(a,b,'-go')

Notice in a fresh browser that without the inline you will get a plot outside of the browser


In [ ]:
plt.show()