| 12345678910111213141516 | from random import randrangefrom pyecharts import options as optsfrom pyecharts.charts import Barclass Chart(object):    def bar_base(self) -> []:        c = (            Bar()                .add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"])                .add_yaxis("商家A", [randrange(0, 101) for _ in range(6)])                .set_global_opts(title_opts=opts.TitleOpts(title="Bar-基本示例", subtitle="我是副标题"))        )        return c
 |