Commit 4bdcdcb8 by BellCodeEditor

auto save

parent c14b4bf4
Showing with 9 additions and 0 deletions
...@@ -6,4 +6,12 @@ y = [2.6,5.9,9.0,26.4,28.7,76.7,175.6,182.2,48.7,18.8,6.0,2.3] ...@@ -6,4 +6,12 @@ y = [2.6,5.9,9.0,26.4,28.7,76.7,175.6,182.2,48.7,18.8,6.0,2.3]
line=Line() line=Line()
line.add_xaxis(x) line.add_xaxis(x)
line.add_yaxis('降水量',y) line.add_yaxis('降水量',y)
line.render('rain.html')from pyecharts.charts import Line
x= ["一月", "二月", "三月", "四月","五月", "六月", "七月", "八月","九月", "十月", "十一月", "十二月"]
y = [2.6,5.9,9.0,26.4,28.7,76.7,175.6,182.2,48.7,18.8,6.0,2.3]
line=Line()
line.add_xaxis(x)
line.add_yaxis('降水量',y)
line.render('rain.html') line.render('rain.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