from pyecharts import Bar
bar = Bar("我的第一个图表","这里是副标题")
bar.add("服装",["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"],[5, 20, 36, 10, 75, 90])
# show_config()
# render(r"e:\my_first_chart.html")
bar.render_notebook() #这个是重点啊 . # 新版本不需要这样
from pyecharts import Bar
bar = Bar("我的第一个图表","这里是副标题")
bar.add("服装",["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"],[5, 20, 36, 10, 75, 90])
# show_config()
# render(r"e:\my_first_chart.html")
bar.render_notebook() #这个是重点啊 . # 新版本不需要这样
本文标题:pyecharts在notebook展现图
本文链接:https://www.haomeiwen.com/subject/kbrxmqtx.html
网友评论