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
相關文章
相關標籤/搜索