libgs.visualisation.LivePlot.live_data¶
-
LivePlot.
live_data
= {}¶ A dictionary of data that shall be updatable dynamically. Each value in live data will be regularly and automatically synced with the
bokeh.plotting.ColumnDataSource
object associated with your plot. Thus in order to update your plot data, all you have to do is update the relevant field in live_data. For example if live_data = {‘x’: [1, 2, 3], ‘y’: [4, 5, 4]} indicates the x and y data in a plot, changing live_data[y] to [8, 10, 8] will be immediately reflected on the plot.