Добавить метку в гистограмму
n, edges, patches = plt.hist(response_bachelor['Bachelor_GradYear'], bins = bins,
color='#f0ae5d', edgecolor='w', label = 'No.of Responses')
#add number of responses on top of each bin
for rect, label in zip(patches, n):
height = rect.get_height()
ax.text(rect.get_x() + rect.get_width()/2, height + 0.01, int(label), ha='center', va='bottom')
Chunxiao Wang