报错 : ImportError: cannot import name 'Line
Traceback (most recent call last): File “main.py”, line 11, in
from pyecharts import Line,Pie
** ImportError: cannot import name ‘Line’**
解决方案:
from pyecharts import Line
更换为:
from pyecharts.charts import Line