Commit 88039e38 by BellCodeEditor

save project

parent 0f0032af
Showing with 5 additions and 4 deletions
...@@ -5,7 +5,8 @@ scores1 = [92, 95, 82, 88] # 期中成绩 ...@@ -5,7 +5,8 @@ scores1 = [92, 95, 82, 88] # 期中成绩
scores2 = [95, 79, 93, 90] # 期末成绩b scores2 = [95, 79, 93, 90] # 期末成绩b
bar = charts.Bar() bar = charts.Bar()
bar.add_xaxis(subjects)
bar.add_yaxis("期中成绩",scores1,bar_width=40)
bar.add_yaxis("期末成绩",scores2,bar_width=40)
bar.add_xaxis(age) bar.render("subjects_analysis.html")
bar.add_yaxis("期中成绩",) \ No newline at end of file
bar.add_yaxis("期末成绩",bar)
\ 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