Looking for a pure Python chart drawing module

Ethan Furman ethan at stoneleaf.us
Tue Sep 15 23:40:12 CEST 2009

John Nagle wrote:
> http://home.gna.org/pychart/doc/introduction.html
>    Tried PyChart.  Set up for PNG file format.  Got the error
> "Exception: Ghostscript not found."    This thing just creates
> PostScript, then pumps it through GhostScript (anybody remember that?)
> to get other formats. And does the documentation say that?  Only
> in the FAQ section.  Grrr.
>    There doesn't seem to be any pure Python chart module at all.
> Just wrappers.
>                 John Nagle


This variable sets the encoding of the data produced by PyChart. The 
value of this variable must be one of the following strings.

Encapsulated PostScript. This is the default.

Adobe Page Description Format, or PDF.

PDF without compression. This option should be used for a debugging 
purpose only.

PNG graphics. You need to have ghostscript (gs) installed to use this 
option, because PyChart internally calls ghostscript to convert 
PostScript to PNG.

Looks like it will directly create pdf files, not sure if that will for you.

Hope this helps.


More information about the Python-list mailing list