8000 Fix use_data_coordinates docstring · matplotlib/matplotlib@16475c6 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16475c6

Browse files
committed
Fix use_data_coordinates docstring
1 parent c9582f0 commit 16475c6

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)
0