0%

用pyecharts作图如何隐藏数值标签等数据

from pyecharts import options as opts
c = (
    Bar()
    .add_xaxis(Faker.choose())
    .add_yaxis("商家A", Faker.values())
    .add_yaxis("商家B", Faker.values())
    .set_global_opts(title_opts=opts.TitleOpts(title="Bar-基本示例", subtitle="我是副标题"))
    .set_series_opts(label_opts=opts.LabelOpts(is_show=False))
    .render("bar_base.html")
)
.set_series_opts(label_opts=opts.LabelOpts(is_show=False))

https://blog.csdn.net/w15059001146/article/details/106148259

原文博主: 热衷开源的宝藏Boy
原文链接: http://www.fangzengye.com/article/1618626450
版权声明: 自由转载-非商用-禁止演绎-保持署名| CC BY-NC-ND 3.0

评论区