add_linear_selector#

ImageGraphic.add_linear_selector(selection=None, axis='x', **kwargs)[source]#

Adds a LinearSelector.

Selectors are just Graphic objects, so you can manage, remove, or delete them from a plot area just like any other Graphic.

Parameters:
  • selection (int, optional) – initial position of the selector

  • kwargs – passed to LinearSelector

Return type:

LinearSelector

Examples#

Linear Selectors Image

Linear Selectors Image