altair.selection#
- altair.selection(type=Undefined, **kwds)#
Users are recommended to use either ‘selection_point’ or ‘selection_interval’ instead, depending on the type of parameter they want to create.
Create a selection parameter.
- Parameters:
- typeenum(‘point’, ‘interval’) (required)
Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types: * “point” - to select multiple discrete data values; the first value is selected on click and additional values toggled on shift-click. * “interval” - to select a continuous range of data values on drag.
- **kwds
additional keywords to control the selection.