In [1]:
%pylab inline
Populating the interactive namespace from numpy and matplotlib
In [2]:
plt.xkcd()
Out[2]:
<matplotlib.rc_context at 0x1028abb38>
In [3]:
x = np.linspace(0, 3*np.pi, 500)
plt.plot(x, np.sin(x**2)*(1/(x+1)**2))
plt.title('Escape to the 3rd Dimension!');