Skip to content

Commit a1a38c5

Browse files
committed
Fix docstrings and comments (remove leading spaces)
1 parent 9121205 commit a1a38c5

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

lib/matplotlib/ticker.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,19 +1216,20 @@ class EngFormatter(Formatter):
12161216
}
12171217

12181218
def __init__(self, unit="", places=None, space_sep=True):
1219-
""" Parameters
1220-
----------
1221-
unit: str (default: u"")
1222-
Unit symbol to use.
1223-
1224-
places: int (default: None)
1225-
Precision, i.e. number of digits after the decimal point.
1226-
If it is None, falls back to the floating point format '%g'.
1227-
1228-
space_sep: boolean (default: True)
1229-
If True, a (single) space is used between the value and the
1230-
prefix/unit, else the prefix/unit is directly appended to the
1231-
value.
1219+
"""
1220+
Parameters
1221+
----------
1222+
unit: str (default: u"")
1223+
Unit symbol to use.
1224+
1225+
places: int (default: None)
1226+
Precision, i.e. number of digits after the decimal point.
1227+
If it is None, falls back to the floating point format '%g'.
1228+
1229+
space_sep: boolean (default: True)
1230+
If True, a (single) space is used between the value and the
1231+
prefix/unit, else the prefix/unit is directly appended to the
1232+
value.
12321233
"""
12331234
self.unit = unit
12341235
self.places = places

0 commit comments

Comments
 (0)