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

Skip to content

Commit c82dcff

Browse files
committed
'fix' docstring: unindent and reorder bullet list + mention regular thin space
1 parent 1621a2d commit c82dcff

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/matplotlib/ticker.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,9 +1232,10 @@ def __init__(self, unit="", places=None, sep=" "):
12321232
sep: string (default: " ")
12331233
String used between the value and the prefix/unit. Beside the
12341234
default behavior, some other useful use cases may be:
1235-
* sep="" to append directly the prefix/unit to the value;
1236-
* sep="\\u00a0" to use a no-break space;
1237-
* sep="\\u202f" to use a narrow no-break space.
1235+
* sep="" to append directly the prefix/unit to the value;
1236+
* sep="\\u2009" to use a thin space;
1237+
* sep="\\u202f" to use a narrow no-break space;
1238+
* sep="\\u00a0" to use a no-break space.
12381239
"""
12391240
self.unit = unit
12401241
self.places = places

0 commit comments

Comments
 (0)