problems ensuring clean canvas for new plots

I use Matplotlib to plot output from my Bayesian simulation package,
PyMC. I essentially generate a series of 2-pane plots with a line plot
and a histogram on each. Between plots, the figure() function is
called:

figure(self.plot_counter,figsize=(10,6))

which should generate a new canvas for plotting. Every so often,
however, this does not happen, resulting in superimposed plots:

http://flickr.com/photos/84201647@...862.../56276637/

Anyone else have this problem? Is there a solution?

Thanks,

···

--
Chris Fonnesbeck
Atlanta, GA

Maybe your plot counter isn't incrementing?
(Always looking for the obvious; sorry.)

Cheers,
Alan Isaac

···

On Wed, 26 Oct 2005, Chris Fonnesbeck apparently wrote:

http://flickr.com/photos/84201647@...862.../56276637/
Anyone else have this problem? Is there a solution?