Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-26 Thread John Hunter
On Tue, May 26, 2009 at 7:30 AM, Esmail wrote: > Christoph Gohlke wrote: >> Hi, >> >> I can confirm the crash of python.exe when saving PNG files using >> matplotlib 0.98.5.3 under Python 2.5.4 and 2.6.2 (32 bit binaries from >> python.org) on Windows Vista 64 bit. Saving to a PDF file works > > A

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-26 Thread Esmail
John Hunter wrote: > > OK, I can confirm this on my side. Hi John, thanks for confirming this. I tried on my office machine too, XP SP3 instead of SP2 and I had exactly the same problem with the fresh install here too. Esmail

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-26 Thread Esmail
Christoph Gohlke wrote: > Hi, > > I can confirm the crash of python.exe when saving PNG files using > matplotlib 0.98.5.3 under Python 2.5.4 and 2.6.2 (32 bit binaries from > python.org) on Windows Vista 64 bit. Saving to a PDF file works Ah .. that's disappointing, but good to know .. just wan

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread Christoph Gohlke
Hi, I can confirm the crash of python.exe when saving PNG files using matplotlib 0.98.5.3 under Python 2.5.4 and 2.6.2 (32 bit binaries from python.org) on Windows Vista 64 bit. Saving to a PDF file works. The crash occurs in _png.write_png(). When replacing the file _png.pyd with version 0.98

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread Esmail
Hi again, John Hunter wrote: > > One thing I just noticed -- you call show before savefig. show is > supposed to be the last line in your script, and should only be called > once. Does moving it to the end help? No, that's just an artifact of my trying a number of things :-) for the pdf file

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread John Hunter
On Mon, May 25, 2009 at 1:01 PM, Esmail wrote: > Hello John, > > \John Hunter wrote: >> On Mon, May 25, 2009 at 12:32 PM, Esmail wrote: >>> Hi all, >>> >>> I'm new to pylab/matplotlib, so perhaps I am making a mistake here, >>> but when I try to save a plot under Windows as a png file, the progra

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread Esmail
Hello John, \John Hunter wrote: > On Mon, May 25, 2009 at 12:32 PM, Esmail wrote: >> Hi all, >> >> I'm new to pylab/matplotlib, so perhaps I am making a mistake here, >> but when I try to save a plot under Windows as a png file, the program >> crashes (pdf works fine). >> > > I don't have a wind

Re: [Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread John Hunter
On Mon, May 25, 2009 at 12:32 PM, Esmail wrote: > Hi all, > > I'm new to pylab/matplotlib, so perhaps I am making a mistake here, > but when I try to save a plot under Windows as a png file, the program > crashes (pdf works fine). > I don't have a windows box to test on today (I can try tomorrow

[Matplotlib-users] saving png under XP crashes ...

2009-05-25 Thread Esmail
Hi all, I'm new to pylab/matplotlib, so perhaps I am making a mistake here, but when I try to save a plot under Windows as a png file, the program crashes (pdf works fine). This is the short script I am running: - import pylab as plt plt.grid(True) # plot a point x = 1.5 y = 0.7 p