trvrm.github.io
Tue 20 May 2014
Things have changed a bit since IPython 1
Now apparently we want to manually specify the use of inline matplotlib rather than enable globally in the server.
%matplotlib inline
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');