drawing bivariate gaussian distributions in matplotlib
Here's an example from the the gallery:http://matplotlib.sourceforge.net/mpl_examples/pylab_examples/contour_demo.py
For future reference, there is a matplotlib.mlab
function called bivariate_normal
that should do what you want, a visual example can be seen in the examples gallery.