code: def test_polar_effect_scatter(fake_writer):
      data = [(i, random.randint(1, 100)) for i in range(101)]
      c = (
          Polar()
          .add(
              "",
              data,
              type_="effectScatter",
              effect_opts=opts.EffectOpts(scale=10, period=5),
              label_opts=opts.LabelOpts(is_show=False),
          )
          .set_global_opts(
              title_opts=opts.TitleOpts(title="Polar-EffectScatter")
          )
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
  
imports: import random
  from unittest.mock import patch
  from nose.tools import assert_equal
  from pyecharts import options
  from pyecharts.charts import Polar
label_desc: Use image node_id 2 for calling a global function with example usage: test_polar_effect_scatter(fake_writer) without return types