TeX?
https://github.com/conda-forge/texlive-core-feedstock seems to lead to a proper LaTeX-Feedstock.
@annika-drews tried
import matplotlib as mpl
mpl.use("pgf")
fontsize=10
width = 25/2.54 # cm to inch usually 10
height = 7/2.54
pgf_with_pdflatex = {
"pgf.texsystem": "pdflatex",
"pgf.preamble": [
r"\usepackage[utf8x]{inputenc}",
r"\usepackage[T1]{fontenc}",
r"\usepackage{lmodern}",
# r"\usepackage{siunitx}"
],
"axes.labelsize": fontsize, # LaTeX default is 10pt font.
"font.size": fontsize,
"legend.fontsize": fontsize,
"xtick.labelsize": fontsize,
"ytick.labelsize": fontsize,
"lines.linewidth": 1,
"figure.figsize" : [width, height],
# "savefig.bbox" : 'tight',
# "savefig.pad_inches" : 0.01
}
mpl.rcParams.update(pgf_with_pdflatex)
and failed with py2_std
on taurus
.