libgs.visualisation.LivePlot¶
-
class
libgs.visualisation.LivePlot[source]¶ Base class for all the plots.
All derived classes shall implent the following method and attribute
Additinoally they may implement the following attributes if required. Data registered in live_data will be passed onto the figure ColumnDataSource using the same mapping. And properites in live_props will be updated on the figures as well.
live_data(type: dict)live_props(type: dict)
Methods
create_fig(sources)The create_fig method shall set up a Bokeh Figure object appropriately and return it Attributes
live_dataA dictionary of data that shall be updatable dynamically. live_propsA dictionary of properties that shall be updatable dynamically. nameA uniquely identifying name for the plot Inherited from base class