Commit 0e86ba8f by BellCodeEditor

save project

parent 378e4fc5
Showing with 8 additions and 6 deletions
from pyecharts.charts import Bar
subjects = ["浈浈", "聪聪", "小智", "波奇"]
scores1 = [92, 95, 82, 88] # 期中成绩
scores2 = [95, 79, 93, 90] # 期末成绩
\ No newline at end of file
from pyecharts.charts import Line
x = ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]
x1 = [2.6,5.9,9.0,26.4,28.7,76.7,175,6,182.2,48.7,18.8,6.0,2.3]
line = Line()
line.add_xaxis(x)
line,add_yaxis("降水量",y1)
line.render("rain.html")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment