mirror of
https://github.com/pyecharts/pyecharts.git
synced 2026-01-25 17:06:27 +00:00
14 lines
298 B
Python
14 lines
298 B
Python
from nose.tools import eq_
|
|
|
|
from example.commons import Faker
|
|
from pyecharts.charts import Map
|
|
|
|
|
|
def test_map_base():
|
|
c = Map().add(
|
|
"商家A", [list(z) for z in zip(Faker.provinces, Faker.values())], "china"
|
|
)
|
|
eq_(c.theme, "white")
|
|
eq_(c.renderer, "canvas")
|
|
c.render()
|