☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to register JS callbacks on stream updates

Community Support
Meir_Tseitlin
Meir_Tseitlin

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).
The problem is that I want it to update each new data is appended and I can’t find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks

⌁   Link to post
Bryan
Bryan

Meir,

I'm not sure there is one at the moment. It would be fairly straightforward to add. Can you make a GitHub feature request issue for this? I can try to take a look at soon.

Thanks,

Bryan

···

On Nov 2, 2016, at 5:38 AM, Meir Tseitlin <meir@imubit.com> wrote:

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).
The problem is that I want it to update each new data is appended and I can't find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24dce7df-b6d1-4cea-be4a-cda20eee9b5c%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Meir_Tseitlin
Meir_Tseitlin

Done

Thanks

···

On Wednesday, November 2, 2016 at 3:09:08 PM UTC+2, Bryan Van de ven wrote:

Meir,

I’m not sure there is one at the moment. It would be fairly straightforward to add. Can you make a GitHub feature request issue for this? I can try to take a look at soon.

Thanks,

Bryan

On Nov 2, 2016, at 5:38 AM, Meir Tseitlin me...@imubit.com wrote:

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).

The problem is that I want it to update each new data is appended and I can’t find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks

–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24dce7df-b6d1-4cea-be4a-cda20eee9b5c%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled