autopct 控制餅圖內百分比設置,可以使用format字符串或者format function ... plt.figure() plt.pie(X,labels=labels,autopct='%1.2f%%') #畫餅圖( ...
確定! 回上一頁