Creating Pie Chart from Python

Will McGugan news at
Thu Sep 15 17:19:17 CEST 2005

Thierry Lam wrote:
> Let's say I have the following data:
> 500 objects:
> -100 are red
> -300 are blue
> -the rest are green
> Is there some python package which can represent the above information
> in a pie chart?

I wrote a wxPython control to render pretty 3D pie charts (see attached It can also be used to pre-generate images such as 

Code is public domain.

Will McGugan
"".join({'*':'@','^':'.'}.get(c,0) or chr(97+(ord(c)-84)%26) for c in 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
URL: <>

More information about the Python-list mailing list