![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pyecharts
20201111
这个作者很懒,什么都没留下…
展开
-
pyecharts画饼图,多图并列
pyecharts画饼图,多图并列BirIndex = ['异常值率','正常值率']BirValue = [12.18,87.82] pieBir = Pie(init_opts=opts.InitOpts(width='800px',height='400px'))pieBir.add(series_name='出生日期',data_pair = [list(z) for z in zip(BirIndex,BirValue)], center=[200, 300],radius=[80,16原创 2020-11-16 14:21:15 · 4458 阅读 · 2 评论 -
pyecharts画柱状图
画柱状图1.设置图片大小、标题、图例2.视觉映射配置项3.设置标签(图的标签和x轴的标签)from pyecharts.charts import Barfrom pyecharts.globals import ThemeTypebar = Bar(init_opts=opts.InitOpts(width='800px',height='400px')) #设置图片大小bar.add_xaxis(driverCols) #x轴bar.add_yaxis("单位:1/10000原创 2020-11-11 16:04:49 · 522 阅读 · 0 评论