Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f79e4fe

Browse files
committed
fix: deprecation in rc
1 parent 2dca986 commit f79e4fe

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ def gen_candidates():
602602
_deprecated_remain_as_none = {
603603
'animation.avconv_path': ('3.3',),
604604
'animation.avconv_args': ('3.3',),
605+
'mathtext.fallback_to_cm': ('3.3',),
605606
}
606607

607608

lib/matplotlib/mpl-data/stylelib/classic.mplstyle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,10 @@ mathtext.bf : serif:bold
154154
mathtext.sf : sans\-serif
155155
mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
156156
# 'stixsans' or 'custom'
157-
#mathtext.fallback_to_cm: None # When True, use symbols from the Computer Modern
158-
# fonts when a symbol can not be found in one of
159-
# the custom math fonts. Deprecated.
160-
#mathtext.fallback: cm # Select fallback font from ['cm' (Computer Modern), 'stix'
161-
# 'stixsans'] when a symbol can not be found in one of the
162-
# custom math fonts. Select 'None' to not perform fallback
163-
# and replace the missing character by a dummy.
157+
mathtext.fallback: cm # Select fallback font from ['cm' (Computer Modern), 'stix'
158+
# 'stixsans'] when a symbol can not be found in one of the
159+
# custom math fonts. Select 'None' to not perform fallback
160+
# and replace the missing character by a dummy.
164161

165162
mathtext.default : it # The default font to use for math.
166163
# Can be any of the LaTeX font names, including

matplotlibrc.template

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,6 @@
329329
#mathtext.rm: sans
330330
#mathtext.sf: sans
331331
#mathtext.tt: monospace
332-
#mathtext.fallback_to_cm: True # When True, use symbols from the Computer Modern
333-
# fonts when a symbol can not be found in one of
334-
# the custom math fonts. Deprecated.
335332
#mathtext.fallback: cm # Select fallback font from ['cm' (Computer Modern), 'stix'
336333
# 'stixsans'] when a symbol can not be found in one of the
337334
# custom math fonts. Select 'None' to not perform fallback

0 commit comments

Comments
 (0)