import matplotlib.pyplot as plt plt.plot(range(10)) %pylab inline plt.plot(range(10))