code: def test_base_init_funcs():
      c0 = Base({"width": "100px", "height": "200px"})
      assert_equal(c0.width, "100px")
      assert_equal(c0.height, "200px")
  
      c1 = Base(dict(width="110px", height="210px"))
      assert_equal(c1.width, "110px")
      assert_equal(c1.height, "210px")
      assert_not_in(c1.js_host, ["", None])
  
file_path: pyecharts/test/test_base.py
imports: from datetime import datetime
  from unittest.mock import patch
  from nose.tools import assert_equal, assert_in, assert_not_in
  from pyecharts.charts import Bar
  from pyecharts.commons import utils
  from pyecharts.datasets import EXTRA
  from pyecharts.options import InitOpts, RenderOpts
  from pyecharts.globals import CurrentConfig
  from pyecharts.charts.base import Base, default
  from pyecharts.options.global_options import AnimationOpts
label_desc: Use image node_id 2 for calling a global function with example usage: test_base_init_funcs() without return types