def _post_setattr_minimum(self, old, new):
        """ Post setattr the minimum value for the slider.

        If the new minimum is greater than the current value or maximum,
        those values are adjusted up.

        """
        if new > self.maximum:
            self.maximum = new
        if new > self.value:
            self.value = new
dataset/ETHPy150Open nucleic/enaml/enaml/widgets/slider.py/Slider._post_setattr_minimum/original