@@ -51,6 +51,39 @@ marginpar_sep = "11 points"
5151num_columns = 1.5
5252columnsep = " 10 points"
5353
54+ # Custom preamble; by default, this is empty. This is useful if you're doing
55+ # something non-standard and you need to ensure when Matplotlib runs TeX (e.g.,
56+ # to measure string sizes) that it is configured in the same manner as your
57+ # final document. This can span over multiple lines. Put one or more spaces
58+ # before each line; these will be chopped off when the configuration is loaded.
59+ preamble = " "
60+
61+ # If enabled, then any instances of $basedir or ${basedir} in the preamble will
62+ # be replaced with the absolute path to the base or top-level directory, i.e.,
63+ # the directory the script is being run from (and that would contain
64+ # pgfutils.cfg).
65+ preamble_substitute = false
66+
67+ # One common use for the preamble is to load custom fonts. The path to fonts
68+ # should be absolute, not relative, as Matplotlib runs TeX in a different
69+ # directory when measuring string sizes. This can be easily achieved by using
70+ # preamble substitution:
71+ #
72+ # [tex]
73+ # preamble_substitute = true
74+ # preamble = '''
75+ # \usepackage{fontspec}
76+ # \setmainfont[
77+ # Path = ${basedir}/fonts/,
78+ # Extension = .ttf,
79+ # UprightFont = *-Regular,
80+ # BoldFont = *-Bold,
81+ # BoldItalicFont = *-BoldItalic
82+ # ]{MyCustomFontName}'''
83+ #
84+ # [pgfutils]
85+ # font_family = serif
86+ # font_name = MyCustomFontName
5487
5588
5689# Settings for plotting.
@@ -82,37 +115,7 @@ legend_border_color = "0.8"
82115legend_background = " white"
83116legend_opacity = 0.8
84117legend_font_size = 10.0
85-
86- # Custom preamble; by default, this is empty. This is useful if you're doing
87- # something non-standard and you need to ensure when Matplotlib runs TeX (e.g.,
88- # to measure string sizes) that it is configured in the same manner as your
89- # final document. This can span over multiple lines. Put one or more spaces
90- # before each line; these will be chopped off when the configuration is loaded.
91- preamble = " "
92-
93- # If enabled, then any instances of $basedir or ${basedir} in the preamble will
94- # be replaced with the absolute path to the base or top-level directory, i.e.,
95- # the directory the script is being run from (and that would contain
96- # pgfutils.cfg).
97- preamble_substitute = false
98-
99- # One common use for the preamble is to load custom fonts. The path to fonts
100- # should be absolute, not relative, as Matplotlib runs TeX in a different
101- # directory when measuring string sizes. This can be easily achieved by using
102- # preamble substitution:
103- #
104- # preamble_substitute = true
105- # preamble =
106- # \usepackage{fontspec}
107- # \setmainfont[
108- # Path = ${basedir}/fonts/,
109- # Extension = .ttf,
110- # UprightFont = *-Regular,
111- # BoldFont = *-Bold,
112- # BoldItalicFont = *-BoldItalic
113- # ]{MyCustomFontName}
114- # font_family = serif
115- # font_name = MyCustomFontName
118+ separate_legend = false
116119
117120# Extra library-specific file trackers to install.
118121extra_tracking = " "
0 commit comments