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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users