@@ -463,23 +463,6 @@ def validate_font_properties(s):
463463 return s
464464
465465
466- def _validate_mathtext_fallback_to_cm (b ):
467- """
468- Temporary validate for fallback_to_cm, while deprecated
469-
470- """
471- if isinstance (b , str ):
472- b = b .lower ()
473- if b is None or b == 'none' :
474- return None
475- else :
476- _api .warn_deprecated (
477- "3.3" , message = "Support for setting the 'mathtext.fallback_to_cm' "
478- "rcParam is deprecated since %(since)s and will be removed "
479- "%(removal)s; use 'mathtext.fallback : 'cm' instead." )
480- return validate_bool_maybe_none (b )
481-
482-
483466def _validate_mathtext_fallback (s ):
484467 _fallback_fonts = ['cm' , 'stix' , 'stixsans' ]
485468 if isinstance (s , str ):
@@ -1119,7 +1102,6 @@ def _convert_validator_spec(key, conv):
11191102 "stixsans" , "custom" ],
11201103 "mathtext.default" : ["rm" , "cal" , "it" , "tt" , "sf" , "bf" , "default" ,
11211104 "bb" , "frak" , "scr" , "regular" ],
1122- "mathtext.fallback_to_cm" : _validate_mathtext_fallback_to_cm ,
11231105 "mathtext.fallback" : _validate_mathtext_fallback ,
11241106
11251107 "image.aspect" : validate_aspect , # equal, auto, a number
@@ -1440,7 +1422,6 @@ def _convert_validator_spec(key, conv):
14401422 "animation.avconv_path" : "avconv" ,
14411423 "animation.avconv_args" : [],
14421424 "animation.html_args" : [],
1443- "mathtext.fallback_to_cm" : None ,
14441425 "keymap.all_axes" : ["a" ],
14451426 "savefig.jpeg_quality" : 95 ,
14461427 "text.latex.preview" : False ,
0 commit comments