From http://stackoverflow.com/questions/10665163/draw-rectangle-add-patch-in-pylab-mode

Plot a rectangle in pylab - matplotlib