use_cross_filter
Provides cross filtering, all other filters are combined using the reducer.
def use_cross_filter(data_key, name: str = "no-name", reducer: Callable[[T, T], T] = operator.and_, eq=solara.util.numpy_equals):
...
Cross filtering will collect a set of filters (from other components), and combine them into a single filter, that excludes the filter we set for the current component. This is often used in dashboards where a filter is defined in a visualization component, but only applied to all other components.
The graph below shows what happens when component A and B set a filter, and C does not.
Example