8000 Update text.py · matplotlib/matplotlib@8e2fde9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e2fde9

Browse files
authored
Update text.py
1 parent b06554b commit 8e2fde9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/text.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ def _get_multialignment(self):
283283
def _char_index_at(self, x):
284284
"""
285285
Calculate the index closest to the coordinate x in display space.
286-
287-
The position of text[index] is assumed to be the sum of the widths of all
288-
preceding characters text[:index].
289-
286+
287+
The position of text[index] is assumed to be the sum of the widths
288+
of all preceding characters text[:index].
289+
290290
This works only on single line texts.
291291
"""
292292
if not self._text:

0 commit comments

Comments
 (0)
0