For a personal project, I'd like to add a text in the upper right corner of the plot but as I'm displaying horizontal bars, I don't have y-coordinates and thus, I can't use either plt.text()or ax.annotate()as they require a y-coordinates.
Here is a picture of the plot I'm having :

and here is what I would like to have (with text on the upper-left corner):

