code: def setup_panel_params(self, coord):
          
          if not self.panel_scales_x:
              raise PlotnineError('Missing an x scale')
  
          if not self.panel_scales_y:
              raise PlotnineError('Missing a y scale')
  
          self.panel_params = []
          cols = ['SCALE_X', 'SCALE_Y']
          for i, j in self.layout[cols].itertuples(index=False):
              i, j = i-1, j-1
              params = coord.setup_panel_params(
                  self.panel_scales_x[i],
                  self.panel_scales_y[j])
              self.panel_params.append(params)
docs: Calculate the x & y range & breaks information for each panel
  
          Parameters
          ----------
          coord : coord
              Coordinate