Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4e77ff

Browse files
author
Dean Malmgren
committed
fix the docstring for scale_docs to only strip whitespace at the end (the whitespace at the beginning is needed for alignment)
1 parent 2a85d16 commit c4e77ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/scale.py

Lines changed: 1 addition & 1 deletion
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)