Attach a SelectionSpec (from the free-standing form of select_point() /
select_interval()) to a plot, marking that the selection's gesture is active
on this plot's marks. Use it when a selection is defined once and shared across
views in a composition (define + add_selection() on one plot, filter_by()
on another).
Arguments
- plot
A PlotSpec.
- selection
A
SelectionSpec.
Value
The PlotSpec, with the selection registered.
