y_tick = np.linspace(0,20,5) plt.yticks(y_tick,fontsize=20,color='#000000') plt.xticks([]) #不显示x轴刻度值 #刻度值字体大小设置(x轴和y轴同时设置) plt.tick_params(labelsize=11) #x轴刻度旋转 ax.set_xticklabels(ax.get_xticklabels(),rotation=90) #刻度值字体设置 labels = ax.g...