Commit 2374318d by BellCodeEditor

save project

parent f4f36764
Showing with 1 additions and 1 deletions
from pyecharts.charts import Bar from pyecharts.charts import Bar
bar=Bar() bar=Bar()
subjects = ["语文","数学","英语","地理","历史","政治","生物","化学","物理"] subjects = ["语文","数学","英语","地理","历史","政治","生物","化学","物理"]
scores = ["梁晋安""88, 95, 96, 94, 62, 66, 64, 93, 89] scores = ["88, 95, 96, 94, 62, 66, 64, 93, 89]
bar.add_xaxis(subject) bar.add_xaxis(subject)
bar.add_yaxis("梁锦安",scores) bar.add_yaxis("梁锦安",scores)
bar.render(lja.html) bar.render(lja.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