class_docstr: TimeSeries Stacked plot for stacking a set of plots in one single vertical column. One
  trace per plot and all plots reading from the same date index.
class_docstr_tok: ["TimeSeries","Stacked","plot","for","stacking","a","set","of","plots","in","one","single","vertical","column",".","One","trace","per","plot","and","all","plots","reading","from","the","same","date","index","."]
code: def _create_figure(self) -> go.Figure:
      self.rangeslider = False
      labels = self.label_xaxis, self.label_yaxis
      self.label_xaxis, self.label_yaxis = "", ""
      ts = super()._apply_base_opts(super()._create_figure())
      traces, layout = ts.data, ts.layout
      self.label_xaxis, self.label_yaxis = labels
      shared_xaxes = not self.show_all_xaxis
  
      fig = make_subplots(
          rows=len(traces),
          cols=1,
          start_cell="top-left",
          shared_xaxes=shared_xaxes,
          shared_yaxes=False,
          vertical_spacing=0.02 if shared_xaxes else 0.08,
      )
      fig.update_layout(layout)
      xaxis = {
          k: layout["xaxis"][k]
          for k in [
              "gridcolor",
              "linecolor",
              "showgrid",
              "type",
              "zeroline",
          ]
      }
      label_y = self.kwargs.get("label_yaxis", [])
      for i, trace in enumerate(traces):
          row = i + 1
          fig.add_trace(trace, row=row, col=1)
          fig.update_xaxes(
              xaxis,
              row=row,
              col=1,
              title_text="" if row < len(traces) else self.label_xaxis,
          )
          fig.update_yaxes(
              layout["yaxis"],
              row=row,
              col=1,
              title_text=label_y[i] if label_y else trace.meta["label"],
          )
      return fig
  
file_path: tslumen/tslumen/plot/interactive/line.py
imports: from typing import Union, Optional, Any
  import pandas
  from tslumen.plot.interactive.base import VizBase, go, make_subplots
label_desc: Use image node_id 2 for calling the TSStack obj's underlying member method code with example usage: obj._create_figure() and returns: fig