Skip to content

Commit 671c032

Browse files
authored
Merge pull request matplotlib#30478 from rcomer/replacer-docstring
MNT: correct _replacer docstring
2 parents bbfa6cb + cf1a357 commit 671c032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,8 +1362,8 @@ def _init_tests():
13621362

13631363
def _replacer(data, value):
13641364
"""
1365-
Either returns ``data[value]`` or passes ``data`` back, converts either to
1366-
a sequence.
1365+
Either returns ``data[value]`` or passes ``data`` back, converting any
1366+
``MappingView`` to a sequence.
13671367
"""
13681368
try:
13691369
# if key isn't a string don't bother

0 commit comments

Comments
 (0)