[newb] batch processing

Neal Becker <ndbecker2@...287...> writes:

To produce a batch of pdfs, I'm using:

[...]

Works, but causes my display to flash, I think each time either close() or
figure() is called (not sure which). Any better way?

To avoid opening a window at all, use a non-interactive backend by
putting something like the following at the start of your script,
_before_ importing anything else:

import matplotlib
matplotlib.use('pdf')

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks