How can I install the font used by matplotlib when TeX is enabled?
import matplotlib matplotlib.rcParams['text.usetex'] = True
The context is that some editor, on the same system, does not find the font, and consequently produces gibberish. The same problem appeared without LaTeX. In that case manually installing (system-wide) all ttf fonts shipped with matplotlib solved the problem. I would like to employ the same solution for the case with LaTeX.
(In my case I use MacTeX.)matplotliblatex