Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 273a268 + 72a18cc commit b19a5b8Copy full SHA for b19a5b8
1 file changed
lib/matplotlib/widgets.py
@@ -2855,7 +2855,12 @@ def _snap(values, snap_values):
2855
2856
@property
2857
def extents(self):
2858
- """Return extents of the span selector."""
+ """
2859
+ (float, float)
2860
+ The values, in data coordinates, for the start and end points of the current
2861
+ selection. If there is no selection then the start and end values will be
2862
+ the same.
2863
2864
if self.direction == 'horizontal':
2865
vmin = self._selection_artist.get_x()
2866
vmax = vmin + self._selection_artist.get_width()
0 commit comments