code: def get_subplot_params(figsize):
      
      width, height, = figsize
      try:
          left, right = SUBPLOT_WIDTH[width]
      except KeyError:
          left = right = None
      try:
          bottom, top = SUBPLOT_HEIGHT[height]
      except KeyError:
          bottom = top = None
      return SubplotParams(left=left, bottom=bottom, right=right, top=top)
docs: Return sensible default `SubplotParams` for a figure of the given size
  
      Parameters
      ----------
      figsize : `tuple` of `float`
           the ``(width, height)`` figure size (inches)
  
      Returns
      -------
      params : `~matplotlib.figure.SubplotParams`
          formatted set of subplot parameters