Hello Michael,
I have not tried using plt.figure() and plt.close(fig) but you are
right; I should investigate it as well for completeness. I had,
actually, purposefully avoided doing this because I read that the pyplot
API is stateful. It keeps references to figures in the same way that
MatL
On 2010-04-16 19:18:56 +0200, Keegan Callin said:
> Hello,
>
> I have written a small script that, I think, demonstrates a memory leak
> in savefig. A search of the mailing list shows a thread started by Ralf
> Gommers about
> 2009-07-01 that seems to
> cover a very similar issue. I have appe
Hello,
I have written a small script that, I think, demonstrates a memory leak
in savefig. A search of the mailing list shows a thread started by Ralf
Gommers about 2009-07-01 that seems to
cover a very similar issue. I have appended the demonstration script at
the end of this e-mail text.