From e41f3b041305ae63a23400c184184d05a6acfefd Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 2 Dec 2023 09:25:02 +0800 Subject: [PATCH] save project --- my_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my_analysis.py b/my_analysis.py index b2ff683..26506f1 100644 --- a/my_analysis.py +++ b/my_analysis.py @@ -2,6 +2,6 @@ from pyecharts.charts import Bar bar=Bar() subjects = ["语文","数学","英语","地理","历史","政治","生物","化学","物理"] scores = [88, 95, 96, 94, 62, 66, 64, 93, 89] -bar.add_xaxis("语文","数学","英语","地理","历史","政治","生物","化学","物理") -bar.add_yaxis("聪聪同学",[88, 95, 96, 94, 62, 66, 64, 93, 89]) +bar.add_xaxis(subjects) +bar.add_yaxis("聪聪同学",scores) bar.render(dd.html) \ No newline at end of file -- libgit2 0.25.0