8000 Merge pull request #10098 from lkjell/rectangle_selector_doc_fix · matplotlib/matplotlib@8a1d647 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a1d647

Browse files
authored
Merge pull request #10098 from lkjell/rectangle_selector_doc_fix
Doc update: Explain what drawing a line does in RectangularSelector.
2 parents f96fac0 + c9a494b commit 8a1d647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,6 +2026,7 @@ def __init__(self, ax, onselect, drawtype='box',
20262026
a box or nothing between click and actual position by setting
20272027
20282028
``drawtype = 'line'``, ``drawtype='box'`` or ``drawtype = 'none'``.
2029+
Drawing a line would result in a line from vertex A to vertex C in a rectangle ABCD.
20292030
20302031
*spancoords* is one of 'data' or 'pixels'. If 'data', *minspanx*
20312032
and *minspanx* will be interpreted in the same coordinates as

0 commit comments

Comments
 (0)
0