8000
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 4ba20b8 commit 6813d84Copy full SHA for 6813d84
lib/matplotlib/ticker.py
@@ -1112,8 +1112,12 @@ def format_eng(self, num):
1112
format_str = ("%%.%if %%s" % self.places)
1113
1114
formatted = format_str % (mant, prefix)
1115
-
1116
- return formatted.strip()
+
+ formatted = formatted.strip()
1117
+ if (self.unit is not "") and (prefix is self.ENG_PREFIXES[0]):
1118
+ formatted = formatted + " "
1119
1120
+ return formatted
1121
1122
1123
class PercentFormatter(Formatter):
0 commit comments