📅  最后修改于: 2022-03-11 14:47:22.501000             🧑  作者: Mango
# Declare graph/plot variable
sample_plot = sns.countplot(df['Sample'])
#This display the values on top of the bars
for p in sample_plot.patches:
sample_plot.annotate('{}'.format(p.get_height()), (p.get_x()+.35, p.get_height()+20))