code: def panset_xy(self, data_x, data_y, no_reset=False):
          
          pan_coord = self.t_['pan_coord']
          # To center on the pixel
          if pan_coord == 'wcs':
              image = self.get_image()
              if image is None:
                  return
              pan_x, pan_y = image.pixtoradec(data_x, data_y)
          else:
              pan_x, pan_y = data_x, data_y
  
          self.set_pan(pan_x, pan_y, coord=pan_coord, no_reset=no_reset)
docs: Similar to :meth:`set_pan`, except that input pan positions
          are always in data space.