Skip to content

Commit b660799

Browse files
committed
Update _base.py
Fixing if condition.
1 parent c67d1c3 commit b660799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3285,7 +3285,7 @@ def ticklabel_format(self, *, axis='both', style=None, scilimits=None,
32853285
raise ValueError("scilimits must be a sequence of 2 integers"
32863286
) from err
32873287
STYLES = {'sci': True, 'scientific': True, 'plain': False}
3288-
if style == None:
3288+
if style is None:
32893289
is_sci_style = False
32903290
else:
32913291
is_sci_style = _api.check_getitem(STYLES, style=style)

0 commit comments

Comments
 (0)