class_docstr: Layout of entire plot
class_docstr_tok: ["Layout","of","entire","plot"]
docstr: Calculate the x & y range & breaks information for each panel
  
  Parameters
  ----------
  coord : coord
      Coordinate
docstr_tok: ["Calculate","the","x","&","y","range","&","breaks","information","for","each","panel","Parameters","--","--","--","--","--","coord",":","coord","Coordinate"]
code: def setup_panel_params(self, coord: Coord):
      """
      Calculate the x & y range & breaks information for each panel
  
      Parameters
      ----------
      coord : coord
          Coordinate
      """
      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)
  
file_path: plotnine/plotnine/facets/layout.py
imports: from __future__ import annotations
  import typing
  from contextlib import suppress
  import numpy
  from .._utils import match
  from ..exceptions import PlotnineError
  from ..iapi import labels_view, layout_details, pos_scales
label_desc: Use image node_id 6 for calling the Layout obj's underlying member method code with example usage: obj.setup_panel_params(coord) without return types