8000 Fix docstrings and comments (remove leading spaces) · matplotlib/matplotlib@3c221ff · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3c221ff

Browse files
committed
Fix docstrings and comments (remove leading spaces)
1 parent 722f5d6 commit 3c221ff

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
@@ -1218,19 +1218,20 @@ class EngFormatter(Formatter):
12181218
}
12191219

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

0 commit comments

Comments
 (0)
0