mapplotlib绘制饼状图
一 代码import numpy as npimport matplotlib.pyplot as plt#The slices will be ordered and plotted counter-clockwise.labels ='Frogs','Hogs','Dogs','Logs'sizes =[15,30,45,10]colors =['yellowgree