bacpipe.embedding_evaluation.visualization.dashboard_utils

Classes

DashBoardHelper()

class bacpipe.embedding_evaluation.visualization.dashboard_utils.DashBoardHelper[source]

Bases: object

add_save_button(plot_func, **kwargs)[source]

Adds a save button to the plot panel

change_input_options(clfier_selection, widget_idx)[source]
handle_click(event, widget_idx=0)[source]
handle_selection(event, widget_idx=None)[source]

Triggered when the user uses the Lasso or Box select tool.

init_interactive_embed_plot(widget_idx)[source]

Initialize interactive embedding plot with dummy figure

init_plot(p_type, plot_func, widget_idx, **kwargs)[source]
init_widget(idx, w_type, **kwargs)[source]
plot_widget(plot_func, **kwargs)[source]
save_embedding_plot(event, widget_idx, plot_func, **kwargs)[source]

Save the current embedding plot

save_selected_points(event, dialogue_panel, widget_idx)[source]
update_main_plot(p_type, plot_func, widget_idx, **kwargs)[source]

Update existing plot by just updating the .object

widget(name, options, attr='Select', width=120, **kwargs)[source]