畫餅圖和折線圖和柱狀圖的實現

每一個數據首先是列表,然後進行賦值: # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl def draw_pie(labels, quants): # make a square figure plt.figure( fig
相關文章
相關標籤/搜索