Matplotlib v1.3 support.
Merge pull request #279 from pelson/mpl1.3

Matplotlib v1.3 support.