Hello All,
Iv run into a strange issue involving outputting a graph to a png
format. Anytime i try to output a png file the python interpreter
crashes. However when using other formats (such as pdf or svg) there
are no issues with the output. I am running python 2.5.4 x86 on Windows
2008 Server x64 sp1. I have included the error information and some
short examples of code that i am attempting to use to output the data to
an image format below. Any help i could get with this would be great.
Thanks,
Ben
Works Fine
=====================================
>>> import matplotlib
>>> matplotlib.use("Agg")
>>> import pylab
>>> pylab.plot([0,1,2,3],[0,1,2,3])
[<matplotlib.lines.Line2D object at 0x03228C10>]
>>> pylab.savefig("test.svg")
Fails with crash error below
=====================================
>>> import matplotlib
>>> matplotlib.use("Agg")
>>> import pylab
>>> pylab.plot([0,1,2,3],[0,1,2,3])
[<matplotlib.lines.Line2D object at 0x03228C10>]
>>> pylab.savefig("test.png")
Problem signature:
Problem Event Name: APPCRASH
Application Name: python.exe
Application Version: 0.0.0.0
Application Timestamp: 4625bfee
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a783
Exception Code: c0000005
Exception Offset: 0003dbba
OS Version: 6.0.6001.2.1.0.272.7
Locale ID: 1033
Additional Information 1: c11a
Additional Information 2: 18d232e4d8435ebf655f59efa077f117
Additional Information 3: 3cc0
Additional Information 4: 2bc86780a51643567bc39fde6d5f1f8a
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users