There is also a labels parameter in ax.bar_label() that allows you to format labels. However, be aware that if you provide the labels input, the fmt parameter will have no effect on the final output.