To add percentages to each of the constitutents of the pie chart, we add in the line, autopct='%1.1f%%', to the plt.pie() function.
確定! 回上一頁