Python 数据分析可视化

1、画图需要使用 matplotlib这个包 代码如下: import matplotlib.pyplot as plt year=[1950,1970,1990,2010] pop=[2.519,3.692,5.263,6.972] values=[0,0.6,1.4,1.6,2.2,2.5,2.6,3.2,3.5,3.9,4.2,6] plt.xlabel('year')#添加x轴标签 pl
相关文章
相关标签/搜索