# 可以设置颜色,g代表green, r代表red,y代表yellow,b代表blue# linewidth = 5,设置线条粗细 # label 设置线条名称 ##plt.plot(x,y,'b',linewidth=5,label='Line One')##plt.plot(x1,y1,'r',linewidth=8,label='Line Two')# 绘制柱状图用bar函数plt.bar(x, y ,color='g',label='Line One')plt.bar(x1, y1 ,c…