<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_scale_limits(self, scale_min, scale_max):
 """Set scale limits. Parameters scale_min, scale_max : float Minimum and maximum scale limits, respectively. """

        # TODO: force scale to within limits if already outside?
        self.t_.set(scale_min=scale_min, scale_max=scale_max)