[AstroPy] matplotlib's pie colors

Grigoris Maravelias gr.maravelias at gmail.com
Wed Nov 30 03:52:25 EST 2011


Hello list!

I have a question regarding the colors of the pie diagram of matplotlib. 
When no colors are assigned then the pie function automatically selects 
some colors, like the example image I have attached. But in this case 
the black color covers the text. How can we avoid this?Is there an easy 
(perhaps?) way to exclude a color?

Of course there is not problem if I specifically select the colors but I 
do not know how many parts exist beforehand (and I would like to assign 
it automatically).

Thanks!

Regards

Grigoris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 81045 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/astropy/attachments/20111130/b93348d1/attachment.png>


More information about the AstroPy mailing list