File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -677,8 +677,8 @@ def checkdep_ps_distiller(s):
677677 else :
678678 return False
679679
680- def validate_usetex (s ):
681- if not validate_bool ( s ) :
680+ def checkdep_usetex (s ):
681+ if not s :
682682 return False
683683
684684 tex_req = '3.1415'
@@ -807,7 +807,7 @@ def __call__(self, s):
807807
808808 # text props
809809 'text.color' : ['k' , validate_color ], # black
810- 'text.usetex' : [False , validate_usetex ],
810+ 'text.usetex' : [False , validate_bool ],
811811 'text.latex.unicode' : [False , validate_bool ],
812812 'text.latex.preamble' : ['' , validate_latex_preamble ],
813813 'text.dvipnghack' : [False , validate_bool ],
@@ -1074,6 +1074,7 @@ def rc_params(fail_on_error=False):
10741074rcParamsDefault = dict (rcParams .items ()) # a copy
10751075
10761076rcParams ['ps.usedistiller' ] = checkdep_ps_distiller (rcParams ['ps.usedistiller' ])
1077+ rcParams ['text.usetex' ] = checkdep_usetex (rcParams ['text.usetex' ])
10771078
10781079def rc (group , ** kwargs ):
10791080 """
You can’t perform that action at this time.
0 commit comments