官方文档: pyecharts
一.折线图生成
from pyecharts.charts import Line
# 对象创建
Line = Line()
# x 坐标
Line.add_xaxis(["1","2","3"])
# y 坐标
Line.add_yaxis('-gdp-',["4","5","6"])
# 生成
Line.render()
THE END
from pyecharts.charts import Line
# 对象创建
Line = Line()
# x 坐标
Line.add_xaxis(["1","2","3"])
# y 坐标
Line.add_yaxis('-gdp-',["4","5","6"])
# 生成
Line.render()
暂无评论内容