code: def render_notebook(self):
      self._prepare_render()
      # only notebook env need to re-generate chart_id
      for c in self:
          c.chart_id = uuid.uuid4().hex
      return engine.render_notebook(
          self,
          "nb_jupyter_notebook_tab.html",
          "nb_jupyter_lab_tab.html",
      )
  
file_path: pyecharts/pyecharts/charts/composite_charts/tab.py
imports: import uuid
  from jinja2 import Environment
  from ...None import types
  from ...commons import utils
  from ...globals import CurrentConfig, ThemeType
  from ...options.charts_options import TabChartGlobalOpts
  from ...render import engine
  from ..mixins import CompositeMixin
label_desc: Use image node_id 7 for calling the Tab obj's underlying member method code with example usage: obj.render_notebook() and returns: engine