[SciPy-user] corrupt png output from gplt

Christopher Fonnesbeck chris at fonnesbeck.org
Thu Apr 22 09:23:15 EDT 2004


On Apr 13, 2004, at 10:07 AM, Christopher Fonnesbeck wrote:

> I am using gplt to plot a number of traces and densities from my MCMC 
> code; it seems to work well, but when the plots are saved to file many 
> of them end up being zero-size files. Since I am producing a large 
> number of plots sequentially, I am wondering if somehow the generation 
> of the next plot interferes with saving the previous plot to a file? 
> It is the only thing I can think of, since some plots save properly, 
> while others do not. Has anyone else run into this problem? Is there a 
> way of guaranteeing the file before the next plot is produced?
>

This also seems to be a platform-independent problem; it occurs on 
Linux and Windows as well as on OSX. There must be some problem with 
the gplot module, as I do not see how it would create the file, yet 
write no data to it.

C.

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

"More and more of our imports come from overseas."
          George W. Bush, 25 September 2000
--
Putting http://wecanstopspam.org in your email helps it pass through 
overzealous spam filters.




More information about the SciPy-User mailing list