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
which should generate a new canvas for plotting. Every so often,
however, this does not happen, resulting in superimposed plots:
Anyone else have this problem? Is there a solution?