如何设置Python Bokeh图表的翻转值

时间:2017-02-23 15:41:56

标签: python bokeh

我正在使用Bokeh图表构建一个python Flask流媒体服务器。

我已经设法使用AjaxDataSource类,但是我需要为要显示的数据设置限制,例如stream方法中的翻转值

http://bokeh.pydata.org/en/latest/_modules/bokeh/models/sources.html#ColumnDataSource.stream

1 个答案:

答案 0 :(得分:0)

听起来你想要max_size的{​​{1}}属性?它在参考指南中描述:

http://bokeh.pydata.org/en/latest/docs/reference/models/sources.html#bokeh.models.sources.AjaxDataSource.max_size

当您需要了解有关您已经掌握的某些知识的具体细节时,参考指南是一个很好的资源。

相关问题