latex matplotlib
code:preample.py
plt.rcParams
'text.usetex'
= True
plt.rcParams
'text.latex.preamble'
= r'\usepackage{sfmath}'
sudo apt install cm-super 必要