libgs.visualisation.Markup

class libgs.visualisation.Markup(name, text, mtype='PreText', **args)[source]

A LivePlot wrapper for the three Bokeh Markup widgets;

The text (or html) can be changed through the ‘text’ property in the live_props attribute.

Parameters:
  • name – The LivePlot.name for 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_data
live_props
name