@@ -96,6 +96,7 @@ class Slider(SliderBase):
96
96
label : str ,
97
97
valmin : float ,
98
98
valmax : float ,
99
+ * ,
99
100
valinit : float = ...,
100
101
valfmt : str | None = ...,
101
102
closedmin : bool = ...,
@@ -105,7 +106,6 @@ class Slider(SliderBase):
105
106
dragging : bool = ...,
106
107
valstep : float | ArrayLike | None = ...,
107
108
orientation : Literal ["horizontal" , "vertical" ] = ...,
108
- * ,
109
109
initcolor : ColorType = ...,
110
110
track_color : ColorType = ...,
111
111
handle_style : dict [str , Any ] | None = ...,
@@ -127,6 +127,7 @@ class RangeSlider(SliderBase):
127
127
label : str ,
128
128
valmin : float ,
129
129
valmax : float ,
130
+ * ,
130
131
valinit : tuple [float , float ] | None = ...,
131
132
valfmt : str | None = ...,
132
133
closedmin : bool = ...,
@@ -181,6 +182,7 @@ class TextBox(AxesWidget):
181
182
ax : Axes ,
182
183
label : str ,
183
184
initial : str = ...,
185
+ * ,
184
186
color : ColorType = ...,
185
187
hovercolor : ColorType = ...,
186
188
label_pad : float = ...,
@@ -236,6 +238,7 @@ class Cursor(AxesWidget):
236
238
def __init__ (
237
239
self ,
238
240
ax : Axes ,
241
+ * ,
239
242
horizOn : bool = ...,
240
243
vertOn : bool = ...,
241
244
useblit : bool = ...,
@@ -317,6 +320,7 @@ class SpanSelector(_SelectorWidget):
317
320
ax : Axes ,
318
321
onselect : Callable [[float , float ], Any ],
319
322
direction : Literal ["horizontal" , "vertical" ],
323
+ * ,
320
324
minspan : float = ...,
321
325
useblit : bool = ...,
322
326
props : dict [str , Any ] | None = ...,
@@ -348,6 +352,7 @@ class ToolLineHandles:
348
352
ax : Axes ,
349
353
positions : ArrayLike ,
350
354
direction : Literal ["horizontal" , "vertical" ],
355
+ * ,
351
356
line_props : dict [str , Any ] | None = ...,
352
357
useblit : bool = ...,
353
358
) -> None : ...
@@ -370,6 +375,7 @@ class ToolHandles:
370
375
ax : Axes ,
371
376
x : ArrayLike ,
372
377
y : ArrayLike ,
378
+ * ,
373
379
marker : str = ...,
374
380
marker_props : dict [str , Any ] | None = ...,
375
381
useblit : bool = ...,
@@ -436,6 +442,7 @@ class LassoSelector(_SelectorWidget):
436
442
self ,
437
443
ax : Axes ,
438
444
onselect : Callable [[list [tuple [float , float ]]], Any ],
445
+ * ,
439
446
useblit : bool = ...,
440
447
props : dict [str , Any ] | None = ...,
441
448
button : MouseButton | Collection [MouseButton ] | None = ...,
@@ -447,11 +454,11 @@ class PolygonSelector(_SelectorWidget):
447
454
self ,
448
455
ax : Axes ,
449
456
onselect : Callable [[ArrayLike , ArrayLike ], Any ],
457
+ * ,
450
458
useblit : bool = ...,
451
459
props : dict [str , Any ] | None = ...,
452
460
handle_props : dict [str , Any ] | None = ...,
453
461
grab_range : float = ...,
454
- * ,
455
462
draw_bounding_box : bool = ...,
456
463
box_handle_props : dict [str , Any ] | None = ...,
457
464
box_props : dict [str , Any ] | None = ...
@@ -473,6 +480,7 @@ class Lasso(AxesWidget):
473
480
ax : Axes ,
474
481
xy : tuple [float , float ],
475
482
callback : Callable [[list [tuple [float , float ]]], Any ],
483
+ * ,
476
484
useblit : bool = ...,
477
485
) -> None : ...
478
486
def onrelease (self , event : Event ) -> None : ...
0 commit comments