neuralib.dashboard.examples.view_animal

class neuralib.dashboard.examples.view_animal.AnimalView[source]
select: Select
content: Div
__init__(animal=None)[source]
Parameters:

animal (str | None)

property title: str
property current_animal: str | None
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

on_figure_type(attr, old, value)[source]
Parameters:
  • attr (str)

  • old (str)

  • value (str)