code: def reset_position_scales(self):
          
          if not self.facet.shrink:
              return
  
          with suppress(AttributeError):
              self.panel_scales_x.reset()
  
          with suppress(AttributeError):
              self.panel_scales_y.reset()
docs: Reset x and y scales