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