ploteries.cli_interface.table_handler_hook¶
Classes
|
Implements the interface (methods |
- class ploteries.cli_interface.table_handler_hook.TableHandlerHook(data_store, data_table_kwargs={})¶
Implements the interface (methods
render_empty_figures()andcreate_callbacks())) required by the ‘ploteries launch’ CLI to access the tables in a data store.- handler_class¶
alias of
TableHandler
- build_empty_html(figure_handler)¶
Builds empty figure with accompanying html.
- classmethod encoded_class_name()¶
Replaces ‘.’ characters with ‘|’ characters in class paths to make them compatible with Dash element ids.
- classmethod create_callbacks(app_callback: Callable, get_hook: Callable[[str], TableHandlerHook], callback_args: Dict[str, State | Input | Output])¶
Creates the pattern-matching callbacks below (arrow):
n_interval_input-> each table figure
This callbacks expect the following contents in the
callback_argsdictionary (besidesinterface_name_state, seecreate_callbacks()):n_interval_input(Input): TheInterval.n_intervalsatttribute that that will trigger the auto-updates, e.g.,Input('interval-component', 'n_intervals').
(See
cli_interface.PloteriesLaunchInterface.create_callbacks()andabstract_hook.AbstractInterfaceHook.create_callbacks().)