code: def __init__(
      self,
      page_title: str = CurrentConfig.PAGE_TITLE,
      js_host: str = "",
      bg_color: str = "",
      tab_css_opts: TabChartGlobalOpts = TabChartGlobalOpts(),
  ):
      self.js_host: str = js_host or CurrentConfig.ONLINE_HOST
      self.page_title: str = page_title
      self.bg_color = bg_color
      self.download_button: bool = False
      self.use_custom_tab_css = tab_css_opts.opts.get("enable")
      self.tab_custom_css = self._prepare_tab_css(css_opts=tab_css_opts)
      self.js_functions: utils.OrderedSet = utils.OrderedSet()
      self.js_dependencies: utils.OrderedSet = utils.OrderedSet()
      self._charts: list = []
  
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 1 to create a new Tab object from inherited base classes: CompositeMixin with example: obj = Tab(page_title, js_host, bg_color, tab_css_opts)