Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita1a38c5

Browse files
committed
Fix docstrings and comments (remove leading spaces)
1 parent9121205 commita1a38c5

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)

[8]ページ先頭

©2009-2025 Movatter.jp