Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556ec20 commit a9af431Copy full SHA for a9af431
lib/matplotlib/ticker.py
@@ -1278,7 +1278,7 @@ def format_eng(self, num):
1278
1279
pow10 = np.clip(pow10, min(self.ENG_PREFIXES), max(self.ENG_PREFIXES))
1280
1281
- mant = sign * dnum / (10 ** pow10)
+ mant = sign * dnum / (10.0 ** pow10)
1282
# Taking care of the cases like 999.9..., which
1283
# may be rounded to 1000 instead of 1 k.
1284
if (self.places is not None and
0 commit comments