Annotate

PHOTO EMBED

Thu May 13 2021 06:52:35 GMT+0000 (Coordinated Universal Time)

Saved by @Ariendal #python #pandas

g = sns.*plot 
ax = g 
for p in ax.patches:
    ax.text(p.get_x() + p.get_width()/2., p.get_height(), '{0:.2f}'.format(p.get_height()), 
        fontsize=12, color='black', ha='center', va='bottom')
content_copyCOPY