|
From: Ryan M. <rm...@gm...> - 2009-02-09 22:54:28
|
On Mon, Feb 9, 2009 at 2:37 PM, A B <pyt...@gm...> wrote: > Thank you very much, Jouni. Pyplot.close() seems to have done the > trick. I followed your advice and converted my code to use the OO > interface. But I'm not sure how I close the figure in OO ... Any > pointers? Thanks. If you're using the full OO interface and creating a figure by making an instance of Figure(), then you shouldn't need to close the figure by hand. It should be deleted whenever you delete or replace your instance of Figure. (If I understand correctly.) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |