matplotlib之饼状图 import matplotlib.pyplot as pltlabels = 'A', 'B', 'C', 'D'fracs = [35, 20, 45, 10]plt.pie(x=fracs, labels=labels)plt.show()圆形饼图import matplotlib.pyplot as pltlabels = 'A', 'B', 'C', ... Python 2023-09-07 36 点赞 0 评论 54 浏览