@@ -266,7 +266,7 @@ class Slider(AxesWidget):
266
266
"""
267
267
A slider representing a floating point range.
268
268
269
- Create a slider from * valmin* to * valmax* in axes *ax* . For the slider to
269
+ Create a slider from ` valmin` to ` valmax` in axes `ax` . For the slider to
270
270
remain responsive you must maintain a reference to it.
271
271
272
272
Call :meth:`on_changed` to connect to the slider event
@@ -290,8 +290,7 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
290
290
The maximum value of the slider.
291
291
292
292
valinit : float, optional
293
- The slider initial position.
294
- Default: 0.5
293
+ The slider initial position. Default: 0.5
295
294
296
295
valfmt : str, optional
297
296
Used to format the slider value, fprint format string.
@@ -307,24 +306,21 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
307
306
308
307
slidermin : Slider, optional
309
308
Do not allow the current slider to have a value less than
310
- the value of the Slider `slidermin`.
311
- Default: None
309
+ the value of the Slider `slidermin`. Default: None
312
310
313
311
slidermax : Slider, optional
314
312
Do not allow the current slider to have a value greater than
315
- the value of the Slider `slidermax`.
316
- Default: None
313
+ the value of the Slider `slidermax`. Default: None
317
314
318
315
dragging : bool, optional
319
- If True the slider can be dragged by the mouse.
320
- Default: True
316
+ If True the slider can be dragged by the mouse. Default: True
321
317
322
318
Notes
323
319
-----
324
320
Additional kwargs are passed on to ``self.poly`` which is the
325
321
:class:`~matplotlib.patches.Rectangle` that draws the slider
326
322
knob. See the :class:`~matplotlib.patches.Rectangle` documentation for
327
- valid property names (e.g., * facecolor*, * edgecolor*, * alpha* ).
323
+ valid property names (e.g., ` facecolor`, ` edgecolor`, ` alpha` ).
328
324
"""
329
325
AxesWidget .__init__ (self , ax )
330
326
0 commit comments