code: def _validate_min(self, proposal):
          
          min = proposal['value']
          if min > self.max:
              raise TraitError('Setting min > max')
          if min > self.value:
              self.value = min
          return min
docs: Enforce min <= value <= max