Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7e5831 + 64364d3 commit da977d6Copy full SHA for da977d6
lib/matplotlib/backends/backend_pgf.py
@@ -212,9 +212,10 @@ def _build_latex_header():
212
# fonts later when we don't expect the additional output on stdout.
213
# TODO: is this sufficient?
214
latex_header = [
215
+ r"\documentclass{minimal}",
216
# Include TeX program name as a comment for cache invalidation.
217
+ # TeX does not allow this to be the first line.
218
r"% !TeX program = {}".format(rcParams["pgf.texsystem"]),
- r"\documentclass{minimal}",
219
latex_preamble,
220
latex_fontspec,
221
r"\begin{document}",
0 commit comments