Skip to content

Commit 278ac33

Browse files
committed
Doc nits.
1 parent 8ad49e7 commit 278ac33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/widgets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,12 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
307307
308308
slidermin : Slider, optional
309309
Do not allow the current slider to have a value less than
310-
`slidermin.val`.
310+
the value of the Slider `slidermin`.
311311
Default: None
312312
313313
slidermax : Slider, optional
314314
Do not allow the current slider to have a value greater than
315-
`slidermax.val`.
315+
the value of the Slider `slidermax`.
316316
Default: None
317317
318318
dragging : bool, optional
@@ -322,9 +322,9 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
322322
Notes
323323
-----
324324
Additional kwargs are passed on to ``self.poly`` which is the
325-
:class:`matplotlib.patches.Rectangle` that draws the slider
326-
knob. See the :class:`matplotlib.patches.Rectangle` documentation for
327-
valid property names (e.g., *facecolor*, *edgecolor*, *alpha*, ...).
325+
:class:`~matplotlib.patches.Rectangle` that draws the slider
326+
knob. See the :class:`~matplotlib.patches.Rectangle` documentation for
327+
valid property names (e.g., *facecolor*, *edgecolor*, *alpha*).
328328
"""
329329
AxesWidget.__init__(self, ax)
330330

0 commit comments

Comments
 (0)