画饼图和折线图和柱状图的实现

每一个数据首先是列表,然后进行赋值: # -*- 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
相关文章
相关标签/搜索