例子:
from pyecharts import Line
line = Line("我的第一个图表", "这里是副标题",width="800px",height="400px") # Line(title=‘主标题‘, subtitle=‘副标题‘, **kwargs)
line.use_theme("dark") # 使用主题
line.add("服装", 
        ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"], [5, 20, 36, 10, 75, 90],
        is_more_utils=True)
line.render(path="render.html")
原文:https://www.cnblogs.com/zenan/p/9480859.html