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

Skip to content

Commit 300eefe

Browse files
authored
Remove too long line
1 parent f6e242f commit 300eefe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/ticker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,8 @@ def format_eng(self, num):
12691269
# instead of 1 k. Beware of the corner case of values that are beyond
12701270
# the range of SI prefixes (i.e. > 'Y').
12711271
_fmant = float(format(mant, fmt))
1272-
if (_fmant >= 1000 or _fmant <= -1000) and pow10 < max(self.ENG_PREFIXES):
1272+
if ((_fmant >= 1000 or _fmant <= -1000)
1273+
and pow10 < max(self.ENG_PREFIXES)):
12731274
mant /= 1000
12741275
pow10 += 3
12751276

0 commit comments

Comments
 (0)