@@ -785,7 +785,7 @@ def validate_hatch(s):
785
785
786
786
def _validate_minor_tick_ndivs (n ):
787
787
"""
788
- Validate ndiv parameter related with the minor ticks.
788
+ Validate ndiv parameter related to the minor ticks.
789
789
It controls the number of minor ticks to be placed between
790
790
two major ticks.
791
791
"""
@@ -798,7 +798,7 @@ def _validate_minor_tick_ndivs(n):
798
798
except (RuntimeError , ValueError ):
799
799
pass
800
800
801
- raise ValueError ("'tick.minor.ndivs' must be a 'auto' or non-negative int" )
801
+ raise ValueError ("'tick.minor.ndivs' must be 'auto' or non-negative int" )
802
802
803
803
804
804
_prop_validators = {
@@ -1313,8 +1313,8 @@ def _convert_validator_spec(key, conv):
1313
1313
"xtick.minor.bottom" : validate_bool , # draw bottom minor xticks
1314
1314
"xtick.major.top" : validate_bool , # draw top major xticks
1315
1315
"xtick.major.bottom" : validate_bool , # draw bottom major xticks
1316
- "xtick.minor.ndivs" : _validate_minor_tick_ndivs ,
1317
1316
# number of minor xticks
1317
+ "xtick.minor.ndivs" : _validate_minor_tick_ndivs ,
1318
1318
"xtick.labelsize" : validate_fontsize , # fontsize of xtick labels
1319
1319
"xtick.direction" : validate_string , # direction of xticks
1320
1320
"xtick.alignment" : ["center" , "right" , "left" ],
@@ -1337,8 +1337,8 @@ def _convert_validator_spec(key, conv):
1337
1337
"ytick.minor.right" : validate_bool , # draw right minor yticks
1338
1338
"ytick.major.left" : validate_bool , # draw left major yticks
1339
1339
"ytick.major.right" : validate_bool , # draw right major yticks
1340
- "ytick.minor.ndivs" : _validate_minor_tick_ndivs ,
1341
1340
# number of minor yticks
1341
+ "ytick.minor.ndivs" : _validate_minor_tick_ndivs ,
1342
1342
"ytick.labelsize" : validate_fontsize , # fontsize of ytick labels
1343
1343
"ytick.direction" : validate_string , # direction of yticks
1344
1344
"ytick.alignment" : [
0 commit comments