from pyecharts import options as opts
from pyecharts.charts import EffectScatter
c = (
EffectScatter()
.add_xaxis( [
"高等数学1,2",
"C语言程序设计",
"python程序设计",
"大数据导论",
"数据结构",
"大数据与人工智能",
])
.add_yaxis("大一的学习效率", [10, 20, 30, 40, 50, 40])
.set_global_opts(
xaxis_opts=opts.AxisOpts(axislabel_opts=opts.LabelOpts(rotate=-15)),
title_opts=opts.TitleOpts(title="学习"))
.render("effectscatter_base.html")
)