'Set a maximum value of a parameter.'

@max.setter
def max(self, value):

    if (self._model is not None):
        self.bounds = (self.min, value)
    else:
        raise AttributeError(u"can't    set    attribute    'max'    on    Parameter    definition")
