50、matplotlib畫圖示例

1、畫餅圖 import matplotlib.pyplot as plt >>> labels = 'frogs','hogs','dogs','logs' >>> sizes = 15,20,45,10 >>> colors = 'yellowgreen','gold','lightskyblue','lightcoral' >>> explode = 0,0.1,0,0 >>>plt.pie
相關文章
相關標籤/搜索