There are lots of examples of updating ColumnDataSources, most of the examples under examples/apps demonstrate how this can be done. Typically, it just means re-assigning a new dictionary value to the .data attribute of the data source. Can you describe what you have already tried in more detail? It's hard to speculate where you might be running into trouble without more information.
On Apr 16, 2016, at 1:41 AM, Emma <[email protected]> wrote:
I'm trying to update data into a datatable running a bokeh server using periodic callbacks. Since I cant find any clean way of updating data in a ColumnDatasouce my hacky solution was to replace the column in the datasouce using "remove" and "add" methods but when running the app but that seems to not work great with the table columns flicking between reading the data correctly and displaying "undefined".
Is there any better way around this or plans to make this possible in the future?
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/fe5843a2-3f67-4b3c-a0ea-ee5760a1cdb8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.