fastplotlib.PositionsHighlightSelector#

class PositionsHighlightSelector(color='red', lut=None, lut_wrap='fixed', alpha=1.0)[source]#

Highlights individual data points on a LineGraphic or ScatterGraphic.

Parameters:
  • color (str or array-like, default "cyan") – Color applied to all selected vertices when no lut is set.

  • lut (np.ndarray, optional) – Per-vertex RGBA colors of shape (n, 4); lut[i] applies to the i-th selected vertex.

  • lut_wrap ("fixed" or "repeat") –

    • “fixed”: no wrapping, fixed to size of the given LUT

    • ”repeat”: cycles through the colormap when n_selections > lut_size

  • alpha (float, default 1.0) – Highlight blend strength in [0, 1].