class_docstr: Analogous to a gridspec, and contained in another LayoutGrid.
docstr: Return the outer bounding box of the subplot specs
  given by rows and cols.  rows and cols can be spans.
docstr_tok: ["Return","the","outer","bounding","box","of","the","subplot","specs","given","by","rows","and","cols",".","rows","and","cols","can","be","spans","."]
code: def get_outer_bbox(self, rows=0, cols=0):
      """
      Return the outer bounding box of the subplot specs
      given by rows and cols.  rows and cols can be spans.
      """
      rows = np.atleast_1d(rows)
      cols = np.atleast_1d(cols)
  
      bbox = Bbox.from_extents(
          self.lefts[cols[0]].value(),
          self.bottoms[rows[-1]].value(),
          self.rights[cols[-1]].value(),
          self.tops[rows[0]].value(),
      )
      return bbox
  
imports: import itertools
  import kiwisolver
  import logging
  import numpy
  import matplotlib
  import matplotlib.patches
  from matplotlib.transforms import Bbox
label_desc: Use image node_id 15 for calling the LayoutGrid obj's underlying member method code with example usage: obj.get_outer_bbox(rows, cols) and returns: bbox