ChartSelect Demo

Interactive region selection for matplotlib charts.

  • Use Box or Lasso mode to draw a selection
  • Click and drag inside the selection to move it
  • Click outside the selection to clear it

Single-Mode Widgets

You can restrict a widget to only one selection mode by passing modes=["box"] or modes=["lasso"]. When only one mode is available, the mode buttons are hidden.