Improve matplotlib Plots in Journals and Thesis

To keep the fonts of a matplotlib figure consistent with surrounding context in a LaTeX file, I need to set the size of the figure correctly in advance. Otherwise, scale the figure later to fit it into the LaTeX file will alter the fonts in the figure as well. Here is a useful link I found http://nipunbatra.github.io/2014/08/latexify/.

Or I can just use style sheets for different applications?

Related