Matplotlib plot is a no-show
In the IPython notebook you could also use %matplotlib inline
at the top of the notebook to automatically display the created plots in the output cells.
your code is correct.just put:
import matplotlib as plt
for diplaying you plot:
plt.show()