class_docstr: All parameters computed for the plotnine tight layout engine
class_docstr_tok: ["All","parameters","computed","for","the","plotnine","tight","layout","engine"]
code: def __init__(self, spaces: LRTBSpaces, wspace: float, hspace: float):
      self.spaces = spaces
      self.grid = GridSpecParams(
          left=spaces.left,
          right=spaces.right,
          top=spaces.top,
          bottom=spaces.bottom,
          wspace=wspace,
          hspace=hspace,
      )
  
file_path: plotnine/plotnine/_mpl/_plotnine_tight_layout.py
imports: from __future__ import annotations
  import typing
  from copy import deepcopy
  from dataclasses import dataclass
  from matplotlib.offsetbox import AnchoredOffsetbox
  from ._plot_side_space import LRTBSpaces, WHSpaceParts, calculate_panel_spacing
label_desc: Use image node_id 1 to create a new TightParams object  with example: obj = TightParams(spaces, wspace, hspace)