From 5210d152e66ec0eea232cd5041414f766b0c3972 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 15 Oct 2022 16:52:24 +0800 Subject: [PATCH] save project --- my_analysis.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/my_analysis.py b/my_analysis.py index 664ce3b..f1a7056 100644 --- a/my_analysis.py +++ b/my_analysis.py @@ -1,8 +1,15 @@ from pyecharts.charts import Line -line = Line() + test = ["第1次","第2次","第3次","第4次","第5次","第6次","第7次","第8次","第9次","第10次"] student1 = [112, 110, 118, 124, 129, 132, 136, 139, 144, 143] # 聪聪 student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰 student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮 +line = Line() + +line.add_xaxis(x) +line.add_yaxis("降水量",y) +line.set_global_opts(title_opts={"tect":"成绩","subtext":"数学"}) + +line.render("sx.html") \ No newline at end of file -- libgit2 0.25.0