Re: [Matplotlib-users] [newb] batch processing

2008-05-13 Thread Michael Droettboom
Your matplotlib is probably configured to use a GUI backend. Set the backend to "pdf" in either your matplotlibrc file or with import matplotlib matplotlib.use("pdf") at the top of your script. If you still see flashing windows, that's a bug, and let us know so we can fix it. Cheers, Mike N

Re: [Matplotlib-users] [newb] batch processing

2008-05-12 Thread Jouni K . Seppänen
Neal Becker <[EMAIL PROTECTED]> 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 so

[Matplotlib-users] [newb] batch processing

2008-05-12 Thread Neal Becker
To produce a batch of pdfs, I'm using: close () figure (1, figsize=(11,8)) ... savefig (open (whatever, 'w')) Works, but causes my display to flash, I think each time either close() or figure() is called (not sure which). Any better way?