跳转至

安装&升级

安装

pip install chartspy

升级 echartspy

pip uninstall chartspy -y  && pip install chartspy

修改echarts版本

默认指向最新版,可以修改成指定版本

from  chartspy import  echarts
from chartspy import g2plot

echarts.ECHARTS_JS_URL = "https://unpkg.com/echarts@latest/dist/echarts.min.js"
g2plot.G2PLOT_JS_URL = "..."