# -*- coding:utf-8 -*-

from pylab import *

figure(1,figsize=(6,6))
ax = axes([0.1,0.1,0.8,0.8])
fracs = [45,30,25]
explode = {0,0,0.08}
pie(fracs,explode=explode,labels=labels,autopct='%1.1f%%',shadow=True,startangle=90,colors={"g","r","y"})
title('raining hogs and dogs')

show()

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-07-09
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案