python - Bokeh DataRange1d 慢慢移出屏幕

标签 python bokeh

我有一个带有 DataRange1d 和 follow='end' 的 Bokeh 图。我发现,随着时间的推移,这个情节的内容慢慢地从屏幕向左移动。

最佳答案

this gitter chat建议将 range_padding 设置为零,尤其是在数据量继续增加的情况下。

http://docs.bokeh.org/en/latest/docs/reference/models/ranges.html#bokeh.models.ranges.DataRange1d

x_range=DataRange1d(follow='end', follow_interval=10000, range_padding=0)

关于python - Bokeh DataRange1d 慢慢移出屏幕,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36223206/

相关文章:

python - 从 bokeh==2.1.1 升级到 bokeh==2.2.0 会破坏 figure.image_rgba()

javascript - 如何在 jquery-ui 调整大小事件时触发 BokehJS 绘图调整大小?

python - Ruby 中的 "sys.stdout.write()"等价物是什么?

python - 如何在 python 中为 DateTime 模块将时区设置为东部?

Python - 如何从 Google Chrome 历史记录的 sqlite 历史文件中找到访问过的 URL 的时间戳?

python - 使用 Bokeh 的对数标度上标指数

javascript - 在 JS 中更新 Bokeh 图

python - 使用递归的二分搜索进入无限循环

python - reportlab TableStyle 中的 VALIGN 显然没有效果

python - 两个交互式 Bokeh 图 : select a value in one graph and change the other