使用此代码生成饼图
df.STATUS.value_counts(sort=True).plot.pie(colors = colors, center=(0,0),explode = explode, autopct='%1.1f%%', pctdistance=0.85)
#draw circle
centre_circle = plt.Circle((0,0),0.95,fc='black')
输出:
温温酱
相关分类