I believe it is not just the size of font but the font itself should match.
Depending on your setting, the tex file generated by matplotlib
include preambles related with font setting. For example, below is
mine.
\documentclass{article}
\usepackage{type1cm}
\renewcommand{\rmdefault}{pnc}
\usepacka
Hi all,
While playing around with the TeX support in matplotlib (rc('text',
usetex=True)) and the PDF backend I noticed an interesting phenomena whereby
the summation symbol in my plot was rendered at a larger size than regular TeX
would produce.
Taking the following example as my basis
http: