Hi,
Chart do not support dynamic data updates at the moment but a possible workaround is to recreate the entire chart. So if, for instance, you have something like:
layout = HBox(children=[Bar(…), Heatmap(…)])
``
you can have a callback that replaces the right child:
layout.children[1]=Heatmap(…)
``
hope this helps.
An additional information is that dynamics updates on charts is part of our roadmap and there is current work being done already to make this happen. So hopefully there will be a better way of doing this in the near future.
Fabio
···
On Saturday, March 5, 2016 at 4:13:58 PM UTC-6, Ricky Galliani wrote:
Hi. I want to update HeatMap objects with periodic callbacks and I’m wondering what the most efficient way to do this is. I’m familiar with how to dynamically update Figures with periodic callbacks by just updating the data_source with the new data, but don’t know how I can do the same thing with a HeatMap. Anyone have any advice or can point me to some helpful documentation?
Thanks!