I am working with the following bar plot: And I would like to add only the total amount of each index on top of the bars, like this: However, when I use the following code, I only get parts of the stacks of each bar. I have tried with different varieties of ax.bar_label(ax.containers[0],fontsize=9) but none displays the total of the