File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2695,7 +2695,7 @@ def _press(self, event):
26952695
26962696 @property
26972697 def direction (self ):
2698- """Direction of the span selector: 'vertical' or 'horizontal'."""
2698+ """Direction of the span selector: 'vertical' or 'horizontal'. Writable. """
26992699 return self ._direction
27002700
27012701 @direction .setter
@@ -2855,7 +2855,12 @@ def _snap(values, snap_values):
28552855
28562856 @property
28572857 def extents (self ):
2858- """Return extents of the span selector."""
2858+ """
2859+ (float, float)
2860+ The axis values for the start and end points of the current selection.
2861+ If there is no selection then the start and end values will be the same.
2862+ Writable.
2863+ """
28592864 if self .direction == 'horizontal' :
28602865 vmin = self ._selection_artist .get_x ()
28612866 vmax = vmin + self ._selection_artist .get_width ()
You can’t perform that action at this time.
0 commit comments