Skip to content Skip to sidebar Skip to footer

Add Footnote Under The X-axis Using Matplotlib

I couldn't find the right function to add a footnote in my plot. The footnote I want to have is something like an explanation of one item in the legend, but it is too long to put i

Solution 1:

One way would be just use plt.text(x,y,'text')

Solution 2:

You would be just use:

plt.figtext(0.5, 0.01, "one text and next text", ha="center", fontsize=18, bbox={"facecolor":"orange", "alpha":0.5, "pad":5})

enter image description here

Post a Comment for "Add Footnote Under The X-axis Using Matplotlib"