File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -677,8 +677,8 @@ def checkdep_ps_distiller(s):
677
677
else :
678
678
return False
679
679
680
- def validate_usetex (s ):
681
- if not validate_bool ( s ) :
680
+ def checkdep_usetex (s ):
681
+ if not s :
682
682
return False
683
683
684
684
tex_req = '3.1415'
@@ -807,7 +807,7 @@ def __call__(self, s):
807
807
808
808
# text props
809
809
'text.color' : ['k' , validate_color ], # black
810
- 'text.usetex' : [False , validate_usetex ],
810
+ 'text.usetex' : [False , validate_bool ],
811
811
'text.latex.unicode' : [False , validate_bool ],
812
812
'text.latex.preamble' : ['' , validate_latex_preamble ],
813
813
'text.dvipnghack' : [False , validate_bool ],
@@ -1074,6 +1074,7 @@ def rc_params(fail_on_error=False):
1074
1074
rcParamsDefault = dict (rcParams .items ()) # a copy
1075
1075
1076
1076
rcParams ['ps.usedistiller' ] = checkdep_ps_distiller (rcParams ['ps.usedistiller' ])
1077
+ rcParams ['text.usetex' ] = checkdep_usetex (rcParams ['text.usetex' ])
1077
1078
1078
1079
def rc (group , ** kwargs ):
1079
1080
"""
You can’t perform that action at this time.
0 commit comments