Looking for a pure Python chart drawing module
Ethan Furman
ethan at stoneleaf.us
Tue Sep 15 17:40:12 EDT 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
http://home.gna.org/pychart/doc/module-theme.html
<excerpt>
output_format
This variable sets the encoding of the data produced by PyChart. The
value of this variable must be one of the following strings.
ps:
eps:
Encapsulated PostScript. This is the default.
pdf:
Adobe Page Description Format, or PDF.
pdf-uncompressed:
PDF without compression. This option should be used for a debugging
purpose only.
png:
PNG graphics. You need to have ghostscript (gs) installed to use this
option, because PyChart internally calls ghostscript to convert
PostScript to PNG.
</excerpt>
Looks like it will directly create pdf files, not sure if that will for you.
Hope this helps.
~Ethan~
More information about the Python-list
mailing list