☰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

multi_line callback erroneous behavior

Community Support
koseoglubaran
koseoglubaran

Hi,

I am developing an application using Bokeh. I happen to use multi_line glyph in my code. When I try to update CDS associated with multi_line in a callback function, python environment cannot read any update from a javascript array. The reason is because an Array is an object with Array class in javascript and a columndatasource which initially declared in python environment does not recognize a javascript Array. Is there any example you can provide me where I can populate a multi_line’ source in a javascript callback?

Thanks in advance

⌁   Link to post
Bryan
Bryan

Hi,

There is always a much better chance that someone will decide to try to spend time to help if you provide code for what you've tried, and ideally, *complete* code that they can run an tinker with and modify.

Thanks,

Bryan

···

On May 13, 2018, at 09:10, koseoglubaran@gmail.com wrote:

Hi,

I am developing an application using Bokeh. I happen to use multi_line glyph in my code. When I try to update CDS associated with multi_line in a callback function, python environment cannot read any update from a javascript array. The reason is because an Array is an object with Array class in javascript and a columndatasource which initially declared in python environment does not recognize a javascript Array. Is there any example you can provide me where I can populate a multi_line' source in a javascript callback?

Thanks in advance

--
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/eda04694-eaff-4bff-8d19-7fb8b7e16409%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
koseoglubaran
koseoglubaran

Thanks for the advice, for now I am able to resolve the issue but for incoming posts I will post also the code

···

On Sunday, May 13, 2018 at 7:13:24 PM UTC+3, Bryan Van de ven wrote:

Hi,

There is always a much better chance that someone will decide to try to spend time to help if you provide code for what you’ve tried, and ideally, complete code that they can run an tinker with and modify.

Thanks,

Bryan

On May 13, 2018, at 09:10, koseog...@gmail.com wrote:

Hi,

I am developing an application using Bokeh. I happen to use multi_line glyph in my code. When I try to update CDS associated with multi_line in a callback function, python environment cannot read any update from a javascript array. The reason is because an Array is an object with Array class in javascript and a columndatasource which initially declared in python environment does not recognize a javascript Array. Is there any example you can provide me where I can populate a multi_line’ source in a javascript callback?

Thanks in advance

–
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/eda04694-eaff-4bff-8d19-7fb8b7e16409%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