neuralib.dashboard.example

class neuralib.dashboard.example.Graph[source]
render_dots: GlyphRenderer
render_line: GlyphRenderer
__init__()[source]
data: ColumnDataSource
plot(fig, **kwargs)[source]

plot data in figure.

Parameters:
  • fig (figure) – Figure.

  • kwargs – plotting parameters.

update()[source]

update the plot

class neuralib.dashboard.example.Top[source]
graph: Graph
property title: str
setup()[source]

setup application top view. This function is called by BokehServer only once when the server created and opened the web browser.

In this function, you need to initialize the UI components and return the layout.

Return type:

Model

update()[source]

Top level UI components updating function. This function is called by BokehServer when setup() has done.

In this function, you need to initialize the data and update the UI components’ state.