Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea8a5b8

Browse files
authored
Merge pull request matplotlib#21919 from dstansby/data-coord-doc
Fix use_data_coordinates docstring
2 parents 9bf4eb2 + 16475c6 commit ea8a5b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/widgets.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,7 +2804,7 @@ def onselect(eclick: MouseEvent, erelease: MouseEvent)
28042804
default: "r".
28052805
28062806
"square" and "center" can be combined. The square shape can be defined
2807-
in data or figure coordinates as determined by the
2807+
in data or display coordinates as determined by the
28082808
``use_data_coordinates`` argument specified when creating the selector.
28092809
28102810
drag_from_anywhere : bool, default: False
@@ -2817,8 +2817,7 @@ def onselect(eclick: MouseEvent, erelease: MouseEvent)
28172817
28182818
use_data_coordinates : bool, default: False
28192819
If `True`, the "square" shape of the selector is defined in
2820-
data coordinates instead of figure coordinates.
2821-
2820+
data coordinates instead of display coordinates.
28222821
"""
28232822

28242823

0 commit comments

Comments
 (0)