@@ -233,7 +233,8 @@ def validate_int_or_None(s):
233
233
return int (s )
234
234
except ValueError :
235
235
raise ValueError ('Could not convert "%s" to int' % s )
236
-
236
+
237
+
237
238
def validate_int_or_auto (s ):
238
239
if s == 'auto' :
239
240
return s
@@ -1315,11 +1316,11 @@ def _validate_linestyle(ls):
1315
1316
'xtick.minor.bottom' : [True , validate_bool ], # draw x axis bottom minor ticks
1316
1317
'xtick.major.top' : [True , validate_bool ], # draw x axis top major ticks
1317
1318
'xtick.major.bottom' : [True , validate_bool ], # draw x axis bottom major ticks
1318
- 'xtick.minor.ndivs' : ['auto' , validate_int_or_auto ], #set ndivs value for x axis minor ticks
1319
+ 'xtick.minor.ndivs' : ['auto' , validate_int_or_auto ], # set ndivs value for x axis minor ticks
1319
1320
1320
1321
# fontsize of the xtick labels
1321
1322
'xtick.labelsize' : ['medium' , validate_fontsize ],
1322
- 'xtick.direction' : ['out' , validate_string ], # direction of xticks
1323
+ 'xtick.direction' : ['out' , validate_string ], # direction of xticks
1323
1324
'xtick.alignment' : ["center" , _validate_alignment ],
1324
1325
1325
1326
'ytick.left' : [True , validate_bool ], # draw ticks on the left side
@@ -1338,11 +1339,11 @@ def _validate_linestyle(ls):
1338
1339
'ytick.minor.right' : [True , validate_bool ], # draw y axis right minor ticks
1339
1340
'ytick.major.left' : [True , validate_bool ], # draw y axis left major ticks
1340
1341
'ytick.major.right' : [True , validate_bool ], # draw y axis right major ticks
1341
- 'ytick.minor.ndivs' : ['auto' , validate_int_or_auto ], #set ndivs value for y axis minor ticks
1342
+ 'ytick.minor.ndivs' : ['auto' , validate_int_or_auto ], # set ndivs value for y axis minor ticks
1342
1343
1343
1344
# fontsize of the ytick labels
1344
1345
'ytick.labelsize' : ['medium' , validate_fontsize ],
1345
- 'ytick.direction' : ['out' , validate_string ], # direction of yticks
1346
+ 'ytick.direction' : ['out' , validate_string ], # direction of yticks
1346
1347
'ytick.alignment' : ["center_baseline" , _validate_alignment ],
1347
1348
1348
1349
'grid.color' : ['#b0b0b0' , validate_color ], # grid color
0 commit comments