13、添加指定位置文字
pyplot.text(x, y, s, fontdict=None, withdash=False, **kwargs)
"""matplotlib.pyplot.text(...color="")#绘制水平方向的条形图barh(y, width, height=0.8,align='center'),
15、格式化x坐标轴刻度
ax.xaxis.set_major_formatter...(ticker.StrMethodFormatter('{x:,.0f}'))#格式化x轴刻度
16、改变x轴位置
ax.xaxis.set_ticks_position('top')#改变x轴的位置...19、参数刻度线样式设置
ax.tick_params(axis ='both', colors='#777777', labelsize=12)#参数axis的值为'x'、'y'、'both',分别代表设置...X轴、Y轴以及同时设置,默认值为'both'。