code: def test_map_globe_in_jupyter():
      CurrentConfig.NOTEBOOK_TYPE = NotebookType.JUPYTER_NOTEBOOK
  
      c = MapGlobe().add(
          "商家A",
          [list(z) for z in zip(Faker.provinces, Faker.values())],
          "china",
      )
      content = c.render_notebook()._repr_html_()
      assert_in("document.createElement('canvas')", content)
      assert_in("baseTexture", content)
  
imports: from unittest.mock import patch
  from nose.tools import assert_equal, assert_in
  from pyecharts.charts import MapGlobe
  from pyecharts.faker import Faker
  from pyecharts.globals import CurrentConfig, NotebookType
label_desc: Use image node_id 3 for calling a global function with example usage: test_map_globe_in_jupyter() without return types