5.Matplotlib基礎繪圖函數

1.概述 2.pyplot餅圖的繪製 import matplotlib.pyplot as plt labels ='Frogs','Hogs','Dogs','Logs' sizes =[15,30,45,10] explode=(0,0.1,0,0) plt.pie(sizes,explode=explode,labels=labels,autopct='%1.1f%%',
相關文章
相關標籤/搜索