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
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
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?