matplotlib/matplotlib — pull request #2416 by megies (2013-09-12 13:25:09+00:00)
Title: Multipage pdf with statement

This makes it possible to use the with statement with multipage pdf, so that it gets closed automatically.