When I change the default font that matplotlib uses via
import matplotlib.pyplot as plt plt.rc(\'text\', usetex=True) plt.rc(\'text.latex\', preamble=r\'\\use