Skip to content

Commit 85a71c0

Browse files
Dean Malmgrendmcdougall
Dean Malmgren
authored andcommitted
fix the docstring for scale_docs to only strip whitespace at the end (the whitespace at the beginning is needed for alignment)
1 parent 2cded35 commit 85a71c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/scale.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,5 +534,5 @@ def get_scale_docs():
534534

535535
docstring.interpd.update(
536536
scale=' | '.join([repr(x) for x in get_scale_names()]),
537-
scale_docs=get_scale_docs().strip(),
537+
scale_docs=get_scale_docs().rstrip(),
538538
)

0 commit comments

Comments
 (0)