1 Star 1 Fork 0

levin/data-science-stream

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
demo7.py 473 Bytes
一键复制 编辑 原始数据 按行查看 历史
levinliu 提交于 4年前 . add demo07
from bokeh.plotting import figure, output_file, save
# prepare some data
x = [2017, 2018, 2019, 2020, 2021]
y = [83.3, 88.3, 75, 79, 82.9]
# set output to static HTML file
output_file(filename="price_indicator.html", title="Static HTML file")
# create a new plot with a specific size
p = figure(sizing_mode="stretch_width", max_width=500, plot_height=250)
# add a circle renderer
circle = p.circle(x, y, fill_color="red", size=15)
# save the results to a file
save(p)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/levin6/data-science-stream.git
git@gitee.com:levin6/data-science-stream.git
levin6
data-science-stream
data-science-stream
main

搜索帮助