fastplotlib.CollectionHighlightSelector#

class CollectionHighlightSelector(color='cyan', lut=None, alpha=1.0)[source]#

Highlights entire graphics within a LineCollection or ScatterCollection.

Each selected collection item is highlighted with a single color across all of its vertices.

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

  • lut (np.ndarray, optional) – Per-item RGBA colors of shape (k, 4); lut[i] applies to the i-th selected item. Must have at least as many rows as the number of selected items.

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