Commit e916d283 by BellCodeEditor

auto save

parent 1c74bdbe
Showing with 10 additions and 5 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月"]
y1 = [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")
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