altair.selection#

altair.selection(type=Undefined, **kwds)#

Create a selection.

Parameters
typestring

The type of the selection: either “interval” or “point”]

**kwds

additional keywords to control the selection.

Returns
Parameter

The Parameter object that can be used in chart creation.