Comment afficher les valeurs au-dessus de la barre dans Barplot Seaborn

# If you have single graph (matplotlib)
for p in ax.patches:
    ax.annotate(str(p.get_height()), xy=(p.get_x(), p.get_height()))

# if you have single graph (seaborn)
ax = sns.countplot(x='User', data=df)
ax.bar_label(ax.containers[0])

# if you have subplots or multiple graphs
ax = sns.countplot(x='User', hue='C', data=df)
for container in ax.containers:
    ax.bar_label(container)
Darkstar