add_linear_selector#
- LineStack.add_linear_selector(selection=None, padding=0.0, axis='x', **kwargs)#
Adds a linear selector.
- Parameters:
selection (float, optional) – selected point on the linear selector, computed from data if not provided
axis (str, default "x") – axis that the selector resides on
padding (float, default 0.0) – Extra padding to extend the linear selector along the orthogonal axis to make it easier to interact with.
kwargs – passed to
LinearSelector
- Return type:
Examples#
Linear Selectors