<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_pan(self, pan_x, pan_y, coord='data', no_reset=False):
 """Set pan position. Parameters pan_x, pan_y : float Pan positions in X and Y. coord : {'data', 'wcs'} Indicates whether the given pan positions are in data or WCS space. no_reset : bool Do not reset ``autocenter`` setting. """

        pan_pos = (pan_x, pan_y)

        with self.suppress_redraw:
            self.t_.set(pan=pan_pos, pan_coord=coord)
            self._reset_bbox()

        # If user specified "override" or "once" for auto center, then turn off
        # auto center now that they have set the pan manually
        if (not no_reset) and (self.t_['autocenter'] in ('override', 'once')):
            self.t_.set(autocenter='off')