V0.5.X版本的pyecharts使用:
from pyecharts import Bar
bar = Bar("我的第一个图表","这里是副标题")
bar.add("服装",["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"],[5, 20, 36, 10, 75, 90])
bar #不需要bar.render(),直接bar就可以输出图片
V1.0.X版本的pyecharts使用:
from pyecharts.charts import Bar
bar = Bar()
bar.add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高
2021-10-25 22:52:17
118KB
ar
art
c
1