https://pyecharts.org/#/zh-cn/quickstart git clone https://github.com/pyecharts/pyecharts-gallery.git pip install black pip3 install Flask pip3 install dbutils pip3 install pyecharts # 例子 https://github.com/pyecharts/pyecharts-gallery/blob/master/Line/beijing_aqi.py # 如何获取最终的格式数据 # 1、禁止掉这个渲染动作 # xxx.render() # 2、修改为生成json并返回即可 xxx.dump_options()