mirror of
https://github.com/pyecharts/pyecharts.git
synced 2026-01-25 17:06:27 +00:00
12 lines
282 B
Python
12 lines
282 B
Python
from nose.tools import eq_
|
|
|
|
from example.commons import Faker
|
|
from pyecharts.charts import Funnel
|
|
|
|
|
|
def test_funnel_base():
|
|
c = Funnel().add("商品", [list(z) for z in zip(Faker.choose(), Faker.values())])
|
|
eq_(c.theme, "white")
|
|
eq_(c.renderer, "canvas")
|
|
c.render()
|