© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 使用Python中的pyecharts库读取json文件绘制面积折线图
说明:绘制结果展示 * import json from pyecharts import Line f = open('lines.json', encoding='gbk') data = json.load(f) datas = data['date'] sales1 = data['sales1'] sales2 = data['sales2'] line = Line('面积折线图', width=2000) # area_opacity设置透明度 line.add('sales', dat<weixin_38674415> 上传 | 大小:56kb