[AstroPy] matplotlib's pie colors
Grigoris Maravelias
gr.maravelias at gmail.com
Wed Nov 30 19:12:19 EST 2011
Thanks Jon! I did contacted the matplotlib list, although we didn't
conclude to something solid so I decided to change the plan and go for a
bar plot instead of the pie diagram (thanks to another answer which has
been really clarifying)
Thanks for your response too!
Wishes
Grigoris
On 11/30/2011 04:27 PM, Jonathan Slavin wrote:
> Grigoris,
>
> I'm afraid I don't have an answer for you off the top of my head, but I
> do have a recommendation: post questions specific to matplotlib to the
> the matplotlib-users list (see:
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users ). While
> many on the astropy list are matplotlib users, you're more likely to get
> good and quick answers on matplotlib functionality there.
>
> Jon
>
>> Date: Wed, 30 Nov 2011 10:52:25 +0200
>> From: Grigoris Maravelias<gr.maravelias at gmail.com>
>> Subject: [AstroPy] matplotlib's pie colors
>> To: astropy at scipy.org
>> Message-ID:<4ED5EEC9.30709 at gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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
More information about the AstroPy
mailing list