matplotlib/matplotlib — pull request #1156 by dmcdougall (2012-08-28 09:36:27+00:00)
Title: Add a convenience method to rotate a patch

The default behaviour is to rotate the patch about it's centre of mass, otherwise rotate about a specified pivot.

This is to address #987.

I think it'd be better to have this is a convenience method in `mlab` rather than a new `kwarg` in the `Patch` constructor because the patch's `transform` can't be decided until an `Axes` object is created.