code: def _create_bar() -> Bar:
      return (
          Bar(init_opts=opts.InitOpts(theme=ThemeType.ROMA))
          .add_xaxis(Faker.week)
          .add_yaxis("商家A", [1, 2, 3, 4, 5, 6, 7])
      )
  
imports: from typing import Iterable
  from nose.tools import assert_equal, assert_in, assert_not_equal, assert_not_in, assert_true, raises
  from pyecharts.charts import Bar, Line, Page
  from pyecharts.commons.utils import OrderedSet
  from pyecharts.globals import ThemeType
  from pyecharts.components import Table
  from pyecharts import options
  from pyecharts.faker import Faker
label_desc: Use image node_id 1 for calling a global function with example usage: _create_bar() and returns: Bar