Skip to content

Commit 9ac31fe

Browse files
committed
FIX nitpicks on docstring
1 parent abc01e2 commit 9ac31fe

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

lib/matplotlib/widgets.py

+11-14
Original file line numberDiff line numberDiff line change
@@ -289,31 +289,28 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
289289
valmax : float
290290
The maximum value of the slider.
291291
292-
valinit : float, optional
293-
The slider initial position. Default: 0.5
292+
valinit : float, optional, default: 0.5
293+
The slider initial position.
294294
295-
valfmt : str, optional
295+
valfmt : str, optional, default: "%1.2f"
296296
Used to format the slider value, fprint format string.
297-
Default: '%1.2f'
298297
299-
closedmin : bool, optional
298+
closedmin : bool, optional, default: True
300299
Indicate whether the slider interval is closed on the bottom.
301-
Default: True
302300
303-
closedmax : bool, optional
301+
closedmax : bool, optional, default: True
304302
Indicate whether the slider interval is closed on the top.
305-
Default: True
306303
307-
slidermin : Slider, optional
304+
slidermin : Slider, optional, default: None
308305
Do not allow the current slider to have a value less than
309-
the value of the Slider `slidermin`. Default: None
306+
the value of the Slider `slidermin`.
310307
311-
slidermax : Slider, optional
308+
slidermax : Slider, optional, default: None
312309
Do not allow the current slider to have a value greater than
313-
the value of the Slider `slidermax`. Default: None
310+
the value of the Slider `slidermax`.
314311
315-
dragging : bool, optional
316-
If True the slider can be dragged by the mouse. Default: True
312+
dragging : bool, optional, default: True
313+
If True the slider can be dragged by the mouse.
317314
318315
Notes
319316
-----

0 commit comments

Comments
 (0)