Matplotlib, A Simple Example
Tell iPython to load matplotlib and display all visuals created inline (that is, on this page)
%matplotlib inline
Import matplotlib's pyplot module
import matplotlib.pyplot as pyplot
Create a simple plot
pyplot.plot([1.6, 2.7])
[<matplotlib.lines.Line2D at 0x10870d2d0>]
