[Matplotlib-users] saving PdfPages figure before closing

2011-08-12 Thread Alex Flint
I'm using the approach described the FAQ to save multiple figures to a multi-page PDF: http://matplotlib.sourceforge.net/faq/howto_faq.html#save-multiple-plots-to-one-pdf-file The figures are produced at consecutive iterations of my algorithm, and since each iteration takes a long time I'd like to

Re: [Matplotlib-users] adding a subplot

2011-06-28 Thread Alex Flint
I'm using 0.99.3, which is from the ubuntu maverick repos. This comes up mostly when I'm drawing plots interactively from ipython. Cheers, Alex On Tue, Jun 28, 2011 at 10:44 AM, Benjamin Root wrote: > > > On Mon, Jun 27, 2011 at 5:09 PM, Alex Flint wrote: > >> H

[Matplotlib-users] adding a subplot

2011-06-27 Thread Alex Flint
Hi there, I'm wondering whether there is an easy way to append an additional subplot to an existing figure without losing the subplots already drawn. Currently if I do something like >>> subplot(211); plot(...); subplot(212); plot(...); Then I get inconsistent drawing results if I try something