Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 664 Bytes

effectscatter_splitline.md

File metadata and controls

23 lines (18 loc) · 664 Bytes

pyecharts 代码 / 效果

from pyecharts import options as opts
from pyecharts.charts import EffectScatter
from pyecharts.faker import Faker

c = (
    EffectScatter()
    .add_xaxis(Faker.choose())
    .add_yaxis("", Faker.values())
    .set_global_opts(
        title_opts=opts.TitleOpts(title="EffectScatter-显示分割线"),
        xaxis_opts=opts.AxisOpts(splitline_opts=opts.SplitLineOpts(is_show=True)),
        yaxis_opts=opts.AxisOpts(splitline_opts=opts.SplitLineOpts(is_show=True)),
    )
    .render("effectscatter_splitline.html")
)
<iframe width="100%" height="800px" src="EffectScatter/effectscatter_splitline.html"></iframe>