@@ -1933,10 +1933,6 @@ class SpanSelector(_SelectorWidget):
19331933 rectprops : dict, default: None
19341934 Dictionary of `matplotlib.patches.Patch` properties.
19351935
1936- maxdist : float, default: 10
1937- Distance in pixels within which the interactive tool handles can be
1938- activated.
1939-
19401936 marker_props : dict
19411937 Properties with which the interactive handles are drawn.
19421938
@@ -1954,6 +1950,10 @@ class SpanSelector(_SelectorWidget):
19541950 button : `.MouseButton` or list of `.MouseButton`
19551951 The mouse buttons which activate the span selector.
19561952
1953+ maxdist : float, default: 10
1954+ Distance in pixels within which the interactive tool handles can be
1955+ activated.
1956+
19571957 drag_from_anywhere : bool, optional
19581958 If `True`, the widget can be moved by clicking anywhere within
19591959 its bounds.
@@ -1976,9 +1976,9 @@ class SpanSelector(_SelectorWidget):
19761976
19771977 @_api .rename_parameter ("3.5" , "span_stays" , "interactive" )
19781978 def __init__ (self , ax , onselect , direction , minspan = 0 , useblit = False ,
1979- rectprops = None , maxdist = 10 , marker_props = None ,
1980- onmove_callback = None , interactive = False ,
1981- button = None , drag_from_anywhere = False ):
1979+ rectprops = None , marker_props = None , onmove_callback = None ,
1980+ interactive = False , button = None ,
1981+ maxdist = 10 , drag_from_anywhere = False ):
19821982
19831983 super ().__init__ (ax , onselect , useblit = useblit , button = button )
19841984
0 commit comments