libgs.visualisation.BokehServer

class libgs.visualisation.BokehServer(port=5001, host='127.0.0.1')[source]

A class to set up and run the bokeh server to serve the dashboard apps.

Apps need to be added to the server using the add_app() method

Parameters:
  • port – The port to start the server on
  • host – The host to bind the server to

Methods

add_app(uri, makefn) Adds an app to the server
start() Starts the server and tornado IOloop.
stop() Stops the tornado IOloop (does not do anything with the server)

Inherited from base class