Reset the slider to the initial value.
(self)
| 374 | self._observers.disconnect(cid) |
| 375 | |
| 376 | def reset(self): |
| 377 | """Reset the slider to the initial value.""" |
| 378 | if np.any(self.val != self.valinit): |
| 379 | self.set_val(self.valinit) |
| 380 | |
| 381 | |
| 382 | class Slider(SliderBase): |