Commit 962111ae by BellCodeEditor

save project

parent 63719dcf
Showing with 3 additions and 2 deletions
...@@ -5,6 +5,6 @@ scores1 = [92, 95, 82, 88] # 期中成绩 ...@@ -5,6 +5,6 @@ scores1 = [92, 95, 82, 88] # 期中成绩
scores2 = [95, 79, 93, 90] # 期末成绩 scores2 = [95, 79, 93, 90] # 期末成绩
bar=Bar() bar=Bar()
bar.add_xaxis(subjects) bar.add_xaxis(subjects)
bar.add_yaxis(scores1) bar.add_yaxis("期中",scores1,bra_width=40)
bar.add_yaxis(scores2) bar.add_yaxis("期末",scores2,bra_width=40)
bar.render("render.html") bar.render("render.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