Filters¶
All the filter components used in the Qimchi Dash app are defined in this module.
- qimchi.components.filters.filters.apply_filters(filters_order: list, filters_opts: dict, fig: Figure, fig_num_axes: int) Figure [source]¶
Applies the filters to the figure.
- Parameters:
filters_order (list) – List of filters to apply, in order.
filters_opts (dict) – Dict of filters to apply, with corresponding options.
fig (go.Figure) – Plotly Figure object to apply filters to.
fig_num_axes (int) – Number of axes in the figure.
- Returns:
Filtered figure.
- Return type:
go.Figure