[AstroPy] matplotlib's pie colors

Grigoris Maravelias gr.maravelias@gmail....
Wed Nov 30 02:52:25 CST 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.scipy.org/pipermail/astropy/attachments/20111130/b93348d1/attachment-0001.png 


More information about the AstroPy mailing list