10BC0 fix EngFormatter docstring: escape Unicode character codes · matplotlib/matplotlib@1621a2d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1621a2d

Browse files
committed
fix EngFormatter docstring: escape Unicode character codes
1 parent e0a2ec8 commit 1621a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/ticker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,8 +1233,8 @@ def __init__(self, unit="", places=None, sep=" "):
12331233
String used between the value and the prefix/unit. Beside the
12341234
default behavior, some other useful use cases may be:
12351235
* 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.
1236+
* sep="\\u00a0" to use a no-break space;
1237+
* sep="\\u202f" to use a narrow no-break space.
12381238
"""
12391239
self.unit = unit
12401240
self.places = places

0 commit comments

Comments
 (0)
0