Commit 43c6b066 by BellCodeEditor

save project

parent 5fee4683
Showing with 7 additions and 5 deletions
from pyecharts.charts import Bar
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典 subjects = ["语文","数学","英语","地理","历史","政治","生物","化学","物理"]
dict_hero={'猴三'10'猴一'21'猴五'22'猴队长'29'猴七'30} scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
print(dict_hero) bar = Bar()
print(dict_hero[3]) bar.add_xaxis(subjects)
bar.add_yaxis("sb的成绩"scores)
bar.render("analysis.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