This is just a demonstration

Check that matplotlib works inline. The code was taken from the Plotting with Matplotlib page.

First : Do IPython magic to enable it


In [1]:
%matplotlib inline

Then, run some Python to generate a plot


In [2]:
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 3*np.pi, 500)
plt.plot(x, np.sin(x**2))
plt.title('A simple chirp');