You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since some releases ago matplotlib has supported pgf for LaTeX output. This allows to graphs that are compiled into to pdf graphics by the LaTeX pgf package. If compilation time isn't an issue (caching is possible) it may be preferable to pdf output, as font sizes and fonts are handled by LaTeX.
Perhaps this should be reflected in the "Formatting text: LaTeX, fontsize, font family" in the matplotlib slides. Using pgf does in my experience allow for less fiddling when producing plots.
The text was updated successfully, but these errors were encountered:
Hi. Thanks for the suggestion. Yes, pgf can give very nice results in latex documents, and that certainly deserves some mentioning. I'll look into working that into the notebook.
First, your notes are very good!
Since some releases ago matplotlib has supported pgf for LaTeX output. This allows to graphs that are compiled into to pdf graphics by the LaTeX pgf package. If compilation time isn't an issue (caching is possible) it may be preferable to pdf output, as font sizes and fonts are handled by LaTeX.
Perhaps this should be reflected in the "Formatting text: LaTeX, fontsize, font family" in the matplotlib slides. Using pgf does in my experience allow for less fiddling when producing plots.
The text was updated successfully, but these errors were encountered: