Nothing showing up when using pylab.show()? Change the default non-interactive ‘agg’ backend to something that can actually show something:
import matplotlib matplotlib.use('Qt4Agg')
If this fails, on Ubuntu you may need to install Qt first:
sudo apt-get install python-qt4
Enjoy!