plt.figure(figsize=(10, 10))
# plt1.plot.pie(autopct='%1.1f%%',colors=sns.color_palette('Paired',10),startangle=90,wedgeprops = { 'linewidth' : 2, 'edgecolor' : 'white' })
plt.pie(plt1.values, labels=plt1.index, autopct='%.2f%%', colors=sns.color_palette('Paired',10), explode=[0.07,0,0,0,0,0,0.1],startangle=90, wedgeprops = { 'linewidth' : 2, 'edgecolor' : 'white' })
plt.title(
'Dataset Source')
my_circle
= plt.Circle((0, 0), 0.7, color='w')
p
= plt.gcf()
p.gca().add_artist(my_circle)

 

相关文章:

  • 2021-05-25
  • 2021-09-27
  • 2021-09-18
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-09-24
  • 2022-01-05
  • 2022-12-23
相关资源
相似解决方案