坐标不对:for a, b,c in zip(ind, y_boys, y_girls):plt.text(a, b, '%s' % b,ha='center',va='bottom' )plt.text(a + bar_width, c, '%s' % c,ha='center',va='bottom' )