shyft.dashboard.examples.time_series_viewer

How we like things to be

Classes

DsViewHandleGenerator(plot, table, legend[, ...])

TsViewerExample(thread_pool[, app_kwargs])

Init of base app

class shyft.dashboard.examples.time_series_viewer.DsViewHandleGenerator(plot, table, legend, async_on=False)[source]

Bases: object

__init__(plot, table, legend, async_on=False)[source]
create_and_send_ds_view_handle()[source]

Create a new ds view handle and send it

Return type:

None

remove_ds_view_handle(names)[source]

Remove a specific ds view handle

Parameters:

names (List[str])

Return type:

None

class shyft.dashboard.examples.time_series_viewer.TsViewerExample(thread_pool, app_kwargs=None)[source]

Bases: AppBase

Init of base app

Parameters:
  • thread_pool – Optional thread pool used for async calls within the app

  • app_kwargs (Dict[str, Any] | None) – Optional keyword arguments provided to the app through the start_bokeh_apps methods

__init__(thread_pool, app_kwargs=None)[source]

Init of base app

Parameters:
  • thread_pool – Optional thread pool used for async calls within the app

  • app_kwargs (Dict[str, Any] | None) – Optional keyword arguments provided to the app through the start_bokeh_apps methods

property name: str

This property returns the name of the app

get_layout(doc, logger=None)[source]

This function returns the full page layout for the app

Parameters:
Return type:

LayoutDOM