plt text verticalalignment code example Example: plt text verticalalignment plt.text(x, y, s, va = "center", ha = "center")