@@ -3242,11 +3242,9 @@ def ticklabel_format(self, *, axis='both', style=None, scilimits=None,
3242
3242
axis : {'x', 'y', 'both'}, default: 'both'
3243
3243
The axis to configure. Only major ticks are affected.
3244
3244
3245
- style : {'sci', 'scientific', 'plain', '', None} , default: None
3245
+ style : {'sci', 'scientific', 'plain'} or None, default: None
3246
3246
Whether to use scientific notation.
3247
3247
The formatter default is to use scientific notation.
3248
- Sci is equivalent to scientific.
3249
- The '' option is included solely for backwards-compatibility.
3250
3248
3251
3249
scilimits : pair of ints (m, n)
3252
3250
Scientific notation is used only for numbers outside the range
@@ -3287,6 +3285,8 @@ def ticklabel_format(self, *, axis='both', style=None, scilimits=None,
3287
3285
raise ValueError ("scilimits must be a sequence of 2 integers"
3288
3286
) from err
3289
3287
STYLES = {'sci' : True , 'scientific' : True , 'plain' : False , '' : None , None : None }
3288
+ # 'sci' is equivalent to 'scientific'.
3289
+ # The '' option is included for backwards-compatibility.
3290
3290
is_sci_style = _api .check_getitem (STYLES , style = style )
3291
3291
axis_map = {** {k : [v ] for k , v in self ._axis_map .items ()},
3292
3292
'both' : list (self ._axis_map .values ())}
0 commit comments