I have plotted some plots in python but I want them to have the same font as my latex text. what should I have to do?
Consistency with labels of the plot and the text in latex. How to have the same font in the latex text in the python plots? consistent font in latex and the python labels.
I have plotted some plots in python but I want them to have the same font as my latex text. what should I have to do?
Consistency with labels of the plot and the text in latex. How to have the same font in the latex text in the python plots? consistent font in latex and the python labels.
Share Improve this question asked Feb 5 at 19:43 Light Light 11 Answer
Reset to default 1If this is matplotlib, you can change the default font in plots using this:
import matplotlib.pyplot as plt
plt.rcParams["font.family"] = "Arial"
Then you can match that font to your LaTeX settings