-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Milestone
Description
Summary
Half a note to self, but anybody can pick this up.
matplotlib/lib/matplotlib/axes/_base.py
Line 3191 in 6a323c0
| def ticklabel_format(self, *, axis='both', style='', scilimits=None, |
defaults style='', which is only used at:
matplotlib/lib/matplotlib/axes/_base.py
Lines 3245 to 3246 in 6a323c0
| STYLES = {'sci': True, 'scientific': True, 'plain': False, '': None} | |
| is_sci_style = _api.check_getitem(STYLES, style=style) |
Proposed fix
- Consistency: Change the default value to
None, like for all the other kwargs here, which has the sematincsNone= do not change. - Document that 'sci' and 'scientific' are equivalent. (Or maybe deprecate 'sci'?)