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