Skip to content

Commit 9f4258b

Browse files
committed
Lint: tabs to spaces.
1 parent f59028e commit 9f4258b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/widgets.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
291291
292292
valinit : float, optional
293293
The slider initial position.
294-
Default: 0.5
294+
Default: 0.5
295295
296296
valfmt : str, optional
297297
Used to format the slider value, fprint format string.
298-
Default: '%1.2f'
298+
Default: '%1.2f'
299299
300300
closedmin : bool, optional
301301
Indicate whether the slider interval is closed on the bottom.
@@ -370,11 +370,11 @@ def __init__(self, ax, label, valmin, valmax, valinit=0.5, valfmt='%1.2f',
370370
self.slidermin = slidermin
371371
self.slidermax = slidermax
372372
self.drag_active = False
373-
self._value_in_bounds(valinit)
373+
self._value_in_bounds(valinit)
374374

375375
def _value_in_bounds(self, val):
376376
""" Makes sure self.val is with given bounds."""
377-
if val <= self.valmin:
377+
if val <= self.valmin:
378378
if not self.closedmin:
379379
return
380380
val = self.valmin
@@ -416,8 +416,8 @@ def _update(self, event):
416416
event.canvas.release_mouse(self.ax)
417417
return
418418
val = event.xdata
419-
self._value_in_bounds(val)
420-
419+
self._value_in_bounds(val)
420+
421421
def set_val(self, val):
422422
xy = self.poly.xy
423423
xy[2] = val, 1

0 commit comments

Comments
 (0)