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?
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?
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
Neal Becker wrote:
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?-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA