fig, ax = plt.subplots() ax.pie(sizes, labels=labels, autopct='%1.1f%%') ax.axis('equal') # Equal aspect ratio ensures the pie chart is circular.
確定! 回上一頁