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):
2695
2695
2696
2696
@property
2697
2697
def direction (self ):
2698
- """Direction of the span selector: 'vertical' or 'horizontal'."""
2698
+ """Direction of the span selector: 'vertical' or 'horizontal'. Writable. """
2699
2699
return self ._direction
2700
2700
2701
2701
@direction .setter
@@ -2855,7 +2855,12 @@ def _snap(values, snap_values):
2855
2855
2856
2856
@property
2857
2857
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
+ """
2859
2864
if self .direction == 'horizontal' :
2860
2865
vmin = self ._selection_artist .get_x ()
2861
2866
vmax = vmin + self ._selection_artist .get_width ()
You can’t perform that action at this time.
0 commit comments