147

本文总阅读量次 ,原创教程,严禁转载
@author jackzhenguo
@desc
@tag
@version 
@date 2020/02/14
from pyecharts import options as opts
from pyecharts.charts import Liquid, Page
from pyecharts.globals import SymbolType

def liquid() -> Liquid:
    c = (
        Liquid()
        .add("lq", [0.67, 0.30, 0.15])
        .set_global_opts(title_opts=opts.TitleOpts(title="Liquid"))
    )
    return c

liquid().render('./img/liquid.html')

上一个例子 下一个例子