When streaming data to a plot being displayed via bokeh serve, how does one go about updating the y axis? The x axis updates as new data comes in, but the y axis in my graphs end up fixed.
I found this thread from 4 years ago Redirecting to Google Groups but it doesn’t seem to fit the current methodology. (Is cursession still accessible in the library?)
cursession related to the long-gone first version of the Bokeh server, it no longer exists and is no longer relevant for anything. As long as you have a default DataRange on the y-axis, then it should update automatically just like the x-axis. You can see the y-axis update automatically in this streaming app example:
When streaming data to a plot being displayed via bokeh serve, how does one go about updating the y axis? The x axis updates as new data comes in, but the y axis in my graphs end up fixed.
I found this thread from 4 years ago Redirecting to Google Groups but it doesn't seem to fit the current methodology. (Is cursession still accessible in the library?)
I am going to try to write a test case for this so I can open a bug report, but I found that the same code running on 0.12.15 the y axis would update with streaming data, but would not on 0.12.16.
Thanks,
Jordan
···
On Friday, June 1, 2018 at 11:10:34 AM UTC-5, Bryan Van de ven wrote:
Hi,
cursession related to the long-gone first version of the Bokeh server, it no longer exists and is no longer relevant for anything. As long as you have a default DataRange on the y-axis, then it should update automatically just like the x-axis. You can see the y-axis update automatically in this streaming app example:
When streaming data to a plot being displayed via bokeh serve, how does one go about updating the y axis? The x axis updates as new data comes in, but the y axis in my graphs end up fixed.