Widgets#

Examples of how to write primitive, but GUI agnostic, widgets in matplotlib

Annotated cursor

Annotated cursor

Buttons

Buttons

Check buttons

Check buttons

Cursor

Cursor

Lasso Selector

Lasso Selector

Menu

Menu

Mouse Cursor

Mouse Cursor

Multicursor

Multicursor

Select indices from a collection using polygon selector

Select indices from a collection using polygon selector

Polygon Selector

Polygon Selector

Radio Buttons

Radio Buttons

Thresholding an Image with RangeSlider

Thresholding an Image with RangeSlider

Rectangle and ellipse selectors

Rectangle and ellipse selectors

Slider

Slider

Snapping Sliders to Discrete Values

Snapping Sliders to Discrete Values

Span Selector

Span Selector

Textbox

Textbox