matplotlib/matplotlib — pull request #1133 by efiring (2012-08-21 20:26:38+00:00)
Title: figure.py: import warnings, and make imports absolute

The lack of "import warnings" was an error.
In addition to fixing that, I tried to make the import
scheme more orderly, and to use absolute imports.