Usetex text baseline
Comparison of text baselines computed for mathtext and usetex.

import matplotlib.pyplot as plt
plt.rcParams.update({"mathtext.fontset": "cm", "mathtext.rm": "serif"})
Comparison of text baselines computed for mathtext and usetex.

import matplotlib.pyplot as plt
plt.rcParams.update({"mathtext.fontset": "cm", "mathtext.rm": "serif"})