add_linear_selectorΒΆ

LineGraphic.add_linear_selector(selection=None, padding=50, **kwargs)[source]ΒΆ

Adds a linear selector.

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

  • padding (float) – pad the length of the selector

  • kwargs – passed to LinearSelector

Return type:

LinearSelector