Clear the Python exception when the transformation passed in does not parse as an affine transform.
Pass an instance, rather than a type, to cleanup_path
Use a regular expression to handle the different output of integers on Unix and Windows.
Merge pull request #2106 from mdboom/identitytransform-bugfix

Matplotlib 1.3.0rc2 test errors on win-amd64-py2.7