Oh, I don't think it's necessarily a leak. Simply a ton
> of unreachable stuff lying around, which a call to
> gc.collect() may help with.
I hope you're right -- matplotlib uses a lot of cyclic references.
But if he's using the pylab interface to manage the figure windows,
the destroy event of the window manager already triggers a call to
gc.collect in the _pylab_helpers module.