Skip to content

Commit cf20132

Browse files
committed
PEP8 compliance
Now “All right” on pep8online.com for the method format_eng in the class EngFormatter.
1 parent ca341a5 commit cf20132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/ticker.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1112,11 +1112,11 @@ def format_eng(self, num):
11121112
format_str = ("%%.%if %%s" % self.places)
11131113

11141114
formatted = format_str % (mant, prefix)
1115-
1115+
11161116
formatted = formatted.strip()
11171117
if (self.unit is not "") and (prefix is self.ENG_PREFIXES[0]):
11181118
formatted = formatted + " "
1119-
1119+
11201120
return formatted
11211121

11221122

0 commit comments

Comments
 (0)