code: def __init__(self, layout, **params):
      super().__init__(layout, **params)
      self.layout, self.subplots, self.paths = self._init_layout(layout)
  
      if self.top_level:
          self.traverse(
              lambda x: attach_streams(self, x.hmap, 2),
              [GenericElementPlot],
          )
  
imports: import param
  from holoviews.plotting.util import attach_streams
  from ...core import AdjointLayout, Empty, GridMatrix, GridSpace, HoloMap, NdLayout
  from ...core.options import Store
  from ...core.util import wrap_tuple
  from ...element import Histogram
  from ..plot import CallbackPlot, DimensionedPlot, GenericAdjointLayoutPlot, GenericCompositePlot, GenericElementPlot, GenericLayoutPlot
  from .util import configure_matching_axes_from_dims, figure_grid
label_desc: Use image node_id 1 to create a new LayoutPlot object from inherited base classes: PlotlyPlot, GenericLayoutPlot with example: obj = LayoutPlot(layout)