Plot Filters¶
This module contains the components for the filters menu in the plot.
Note
All toggles for (de-)activating filters should have a type of
apply-<filter_name>
, where<filter_name>
does not contain any spaces or-
.All filter options should have a type of
<filter_name>-<slider_name>
, where<filter_name>
&<slider_name>
do not contain any spaces or-
.
This module contains the components for the filters menu in the plot.
# NOTE: 1. All toggles for (de-)activating filters should have a type of “apply-<filter_name>”, where <filter_name> does not contain any spaces or ‘-‘. 2. All filter options should have a type of “<filter_name>-<slider_name>”, where <filter_name> & <slider_name> do not contain any spaces or ‘-‘.
- qimchi.components.plot_filters.content_filters(sess_id: str, fig: QimchiFigure, fig_id: str) Div [source]¶
Generates the filters menu for the plot.
- Parameters:
sess_id (str) – Session ID to identify the data.
fig (QimchiFigure) – QimchiFigure object.
fig_id (str) – Unique identifier for the figure in the plot.
- Returns:
Filters menu container.
- Return type:
dash.html.Div