libgs.visualisation.BokehDash¶
-
class
libgs.visualisation.BokehDash(update_rate=0.1, title='Bokeh-based dashboard', layout_callback=None)[source]¶ A bare-bone Bokeh dashboard app.
Plots and Visualisations can be added to the Dashboard using the add_plot method.
Parameters: - update_rate (float, optional) – The delay (in seconds) between each update of the dashboard (on the client-side)
- title (string, optional) – The dashboard title
- layout_callback (function, optional) – An optional function that defines the layout using bokeh.layout elements. The layout_callback function shall accept a single argument being a list of figures. It shall return a layout comprising those figures.
Methods
add_plot(plot)Add a LivePlotto the documentget_plot(name)Return a LivePlotby namemake_doc(doc)Set up the document. Inherited from base class