I have matplotlibrc file which contains following for latex preamble
text.latex.preamble : \usepackage{siunitx}, \usepackage{amsmath}, \boldmath
This definition used to work with matplotlib/v-3.03, but when I updated to version-3.4.2, it stopped working. I checked the cached tex file that matplotlib created, I found that in version-3.4.2 it can not split preamble properly. I am showing respectively lines from tex file bellow
Version-3.0.3
\usepackage{siunitx}
\usepackage{amsmath}
\boldmath
Version-3.4.2
\usepackage{siunitx}, \usepackage{amsmath}, \boldmath
Can someone help me, the right way to define the preamble in matplotlibrc file for new version? I know they have changed how to handle preamble but could not figure it out.
Thanks