init() got an unexpected keyword argument ‘title_color’
出现这个问题是因为pyecharts版本太新了,用pip先卸载现有版本,再装上0.5.0版本,并且安装好拓展地图库就可以了
代码参考:
pip uninstall pyecharts
pip install pyecharts==0.5.0
地图库安装:
pip install echarts-countries-pypkg
pip install echarts-china-provinces-pypkg
pip install echarts-china-cities-pypkg
pip install echarts-china-counties-pypkg
pip install echarts-china-misc-pypkg
pip install echarts-united-kingdom-pypkg