Skip to content

Commit eddafaf

Browse files
committed
update Chentao's Complex Heavy font
1 parent ef46006 commit eddafaf

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/smplotlib/__init__.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ def set_style(usetex=False, fontsize=15, fontweight='normal', figsize=(6, 6), dp
9999
"ytick.minor.width": 0.5,
100100
"font.family": "AVHershey Complex",
101101
"font.weight": "heavy",
102-
"font.style": "italic",
103102
"axes.labelweight": "heavy",
104103
"mathtext.fontset": "custom",
105-
"mathtext.bf": "AVHershey Complex:heavy:italic",
106-
"mathtext.cal": "AVHershey Complex:heavy:italic",
107-
"mathtext.it": "AVHershey Simplex:heavy:italic",
108-
"mathtext.rm": "AVHershey Complex:heavy:italic",
104+
"mathtext.bf": "AVHershey Complex:heavy",
105+
"mathtext.cal": "AVHershey Complex:heavy",
106+
"mathtext.it": "AVHershey Complex:heavy:italic",
107+
"mathtext.rm": "AVHershey Complex:heavy",
109108
"mathtext.sf": "AVHershey Duplex:heavy",
110109
"mathtext.tt": "AVHershey Simplex:heavy",
111110
"mathtext.fallback": "cm",

src/smplotlib/smplot.mplstyle

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ mathtext.fontset: custom # Should be 'dejavusans' (default),
337337
## "mathtext.fontset: custom" is defined by the mathtext.bf, .cal, .it, ...
338338
## settings which map a TeX font name to a fontconfig font pattern. (These
339339
## settings are not used for other font sets.)
340-
mathtext.bf: AVHershey Complex:heavy:italic # such that font_manager can find it
340+
mathtext.bf: AVHershey Complex:heavy # such that font_manager can find it
341341
mathtext.cal: AVHershey Complex:medium
342342
mathtext.it: AVHershey Complex:medium:italic
343343
mathtext.rm: AVHershey Complex:medium
908 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)