2015-01-12 3 views

cevap

8

:

Dönüş değeri:

autopct Yok tuple (yamalar, metinler, Autotexts), yamalar ve metinler, yukarıdaki gibidir dönmek değilse ve Autotexts bir olduğunu sayısal etiketler için Metin örnekleri listesi.

autotexts; Bu set_color() yoluyla kolayca yapılır: (Hogs and Dogs example ile)

_, _, autotexts = pie(fbfrac,labels = fblabel,autopct='%1.1f%%',pctdistance=0.8,startangle=90,colors=fbcolor) 
for autotext in autotexts: 
    autotext.set_color('white') 

Bu verim: enter image description here

+0

Teşekkür! Mükemmel çalıştı – Jsuf

İlgili konular