Skip to content

Commit c9a494b

Browse files
committed
Doc update: Explain what drawing a line does in RectangularSelector.
1 parent bbf962f commit c9a494b

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)