libgs.visualisation.Markup¶
-
class
libgs.visualisation.Markup(name, text, mtype='PreText', **args)[source]¶ A LivePlot wrapper for the three Bokeh Markup widgets;
bokeh.models.widgets.markups.Divbokeh.models.widgets.markups.Paragraphbokeh.models.widgets.markups.PreText
The text (or html) can be changed through the ‘text’ property in the
live_propsattribute.Parameters: - name – The
LivePlot.namefor the LivePlot - text – The text/html to populate the widget with
- mtype – The type of Boke Markup widget. One of ‘LivePlot’, ‘PreText’, or ‘Paragraph’
- **args – Additional kw arguments to pass to the bokeh widget constructor.
Methods
create_fig(sources)The create_fig method shall set up a Bokeh Figure object appropriately and return it Attributes
Inherited from base class
live_datalive_propsname