libgs.visualisation.BokehServer.add_app¶
-
BokehServer.
add_app
(uri, makefn)[source]¶ Adds an app to the server
the app is a standard
bokeh.application.application.Application
that is created by passing either an arbitrary makefunction (seebokeh.application.handlers.function.FunctionHandler
), or aBokehDash
object (which implements the same make function as the make_doc method).Parameters: - uri – The URI to serve the app on (e.g. ‘/dash’, or ‘/’ or …)
- makefn – The app to add (can be either a BokehDash app, or an arbitrary user-define app maker function.
If you are implementing arbitrary app-maker ensure it follows the format required by
bokeh.application.handlers.function.FunctionHandler
Returns: