spade_bokeh package¶
Submodules¶
spade_bokeh.spade_bokeh module¶
-
class
spade_bokeh.spade_bokeh.
BokehServerMixin
(*args, **kwargs)[source]¶ Bases:
object
This is the Mixin to inherit from when you create your agent.
-
class
spade_bokeh.spade_bokeh.
BokekServer
(agent)[source]¶ Bases:
object
-
add_plot
(path, func)[source]¶ Registers a new plot in the bokeh server. Args:
path: path where the plot will respond to queries func: the function that renders the plot.
-
get_plot_script
(path)[source]¶ Returns the necessary javascript to render a plot Args:
path (str): the path with which the plot was registered in the server.- Returns:
- A string with the javascript code to render the plot.
-
Module contents¶
Top-level package for SPADE Bokeh Server.