@@ -255,7 +255,7 @@ class Slider(AxesWidget):
255
255
def __init__ (self , ax , label , valmin , valmax , valinit = 0.5 , valfmt = None ,
256
256
closedmin = True , closedmax = True , slidermin = None ,
257
257
slidermax = None , dragging = True , valstep = None ,
258
- orientation = 'horizontal' , initcolor = 'r' , ** kwargs ):
258
+ orientation = 'horizontal' , * , initcolor = 'r' , ** kwargs ):
259
259
"""
260
260
Parameters
261
261
----------
@@ -295,16 +295,16 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt=None,
295
295
dragging : bool, default: True
296
296
If True the slider can be dragged by the mouse.
297
297
298
- valstep : float or arraylike , default: None
298
+ valstep : float or array-like , default: None
299
299
If a float, the slider will snap to multiples of *valstep*.
300
300
If an array the slider will snap to the values in the array.
301
301
302
302
orientation : {'horizontal', 'vertical'}, default: 'horizontal'
303
303
The orientation of the slider.
304
304
305
305
initcolor : color or None, default: 'r'
306
- The color of the line drawn at the *valinit* position. If None
307
- then no line marking the inital position will be drawn.
306
+ The color of the line at the *valinit* position. If None then
307
+ no line will be drawn.
308
308
309
309
Notes
310
310
-----
@@ -482,7 +482,7 @@ def set_val(self, val, validate=False):
482
482
Parameters
483
483
----------
484
484
val : float
485
- validate : bool, default: False
485
+ validate : bool, default: False
486
486
Whether to transform *val* to conform to *valstep*,
487
487
*valmin* and *valmax*
488
488
"""
0 commit comments