Annotate V2

PHOTO EMBED

Mon May 17 2021 04:21:23 GMT+0000 (Coordinated Universal Time)

Saved by @Ariendal #python #pandas

for p in ax.patches:
    values= '{:.0f}'.format(p.get_height())
    x = p.get_x() + p.get_width()/2
    y = p.get_height()
    ax.annotate(values, (x, y),ha='center', va ='bottom', fontsize = 11)
content_copyCOPY