code: def test_scatter_item_base(fake_writer):
      x_axis = ["A", "B", "C"]
      y_axis = [1, 2, 4]
      chart_item = [
          opts.ScatterItem(name=d[0], value=d[1])
          for d in list(zip(x_axis, y_axis))
      ]
  
      c = (
          Scatter()
          .add_xaxis(x_axis)
          .add_yaxis("series0", chart_item)
          .set_global_opts(
              title_opts=opts.TitleOpts(title="Scatter-基本示例")
          )
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
  
file_path: pyecharts/test/test_scatter.py
imports: import json
  from unittest.mock import patch
  from nose.tools import assert_equal, assert_in
  from pyecharts import options
  from pyecharts.charts import Scatter, Grid
  from pyecharts.commons.utils import JsCode
  from pyecharts.faker import Faker
label_desc: Use image node_id 3 for calling a global function with example usage: test_scatter_item_base(fake_writer) without return types