>> On Fri, 22 Dec 2006, [EMAIL PROTECTED] apparently wrote: >>> 1st message in this thread has code to create each plot. >>> Each one does a 'figure_ = pylab.figure()' already.
> Alan G Isaac wrote: >> Sorry I missed the thread, but each call to pylab.figure() >> will give you a new active figure. Everything you plot will >> then be plotted to that figure. Previous plots will not be >> erased until you explicitly remove them. You can also get >> the axes for a particular figure and plot directly to the >> axis. >> Probably you are not creating new figures when you think you >> are... On Fri, 22 Dec 2006, Eric Firing apparently wrote: > I'm puzzled. The call to pylab.close() after the savefig should > completely wipe out the current figure, shouldn't it? Just because the figure window is closed does not mean the figure is deleted. Chris apparently maintains a reference to the figure? > And even without the close (which certainly should be used anyway), each > function starts with a call to pylab.figure() which should start a new > figure. Right! This my comment above. Cheers, Alan Isaac ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users