Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e20541

Browse files
authored
Merge pull request #16727 from CSCD01/Bugfix-16583
Update xtick.alignment parameter in rcsetup to validate against correct values
2 parents cd755c4 + 7a5e609 commit 9e20541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ def _convert_validator_spec(key, conv):
13451345
'xtick.labelsize': ['medium', validate_fontsize],
13461346
'xtick.direction': ['out', validate_string], # direction of xticks
13471347
'xtick.alignment': ['center',
1348-
['center', 'top', 'bottom', 'baseline', 'center_baseline']],
1348+
['center', 'right', 'left']],
13491349

13501350
'ytick.left': [True, validate_bool], # draw ticks on the left side
13511351
'ytick.right': [False, validate_bool], # draw ticks on the right side

0 commit comments

Comments
 (0)