Werner F. Bruhin wrote:
> I would like to have the percentage values shown in white instead of in
> black within a pie chart.
>
The following code is doing what I want, but it does not feel right.
myPie = axes.pie(values, labels=labels, autopct=u'%1.0f%%',
shadow=False, colors=colors)
for x in myPie[2]:
x.set_color('w')
Is there really no "cleaner" way of doing this?
Werner
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users