We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extents
1 parent 818307f commit 842d05fCopy full SHA for 842d05f
lib/matplotlib/widgets.py
@@ -2915,7 +2915,12 @@ def _snap(values, snap_values):
2915
2916
@property
2917
def extents(self):
2918
- """Return extents of the span selector."""
+ """
2919
+ (float, float)
2920
+ The values, in data coordinates, for the start and end points of the current
2921
+ selection. If there is no selection then the start and end values will be
2922
+ the same.
2923
2924
if self.direction == 'horizontal':
2925
vmin = self._selection_artist.get_x()
2926
vmax = vmin + self._selection_artist.get_width()
0 commit comments