.. _sphx_glr_gallery_widgets:
Widgets
=======
Examples of how to write primitive, but GUI agnostic, widgets in
matplotlib
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_annotated_cursor_thumb.png
:alt: Annotated Cursor
:ref:`sphx_glr_gallery_widgets_annotated_cursor.py`
.. raw:: html
Annotated Cursor
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_buttons_thumb.png
:alt: Buttons
:ref:`sphx_glr_gallery_widgets_buttons.py`
.. raw:: html
Buttons
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_check_buttons_thumb.png
:alt: Check Buttons
:ref:`sphx_glr_gallery_widgets_check_buttons.py`
.. raw:: html
Check Buttons
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_cursor_thumb.png
:alt: Cursor
:ref:`sphx_glr_gallery_widgets_cursor.py`
.. raw:: html
Cursor
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_lasso_selector_demo_sgskip_thumb.png
:alt: Lasso Selector
:ref:`sphx_glr_gallery_widgets_lasso_selector_demo_sgskip.py`
.. raw:: html
Lasso Selector
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_menu_thumb.png
:alt: Menu
:ref:`sphx_glr_gallery_widgets_menu.py`
.. raw:: html
Menu
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_mouse_cursor_thumb.png
:alt: Mouse Cursor
:ref:`sphx_glr_gallery_widgets_mouse_cursor.py`
.. raw:: html
Mouse Cursor
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_multicursor_thumb.png
:alt: Multicursor
:ref:`sphx_glr_gallery_widgets_multicursor.py`
.. raw:: html
Multicursor
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_demo_thumb.png
:alt: Select indices from a collection using polygon selector
:ref:`sphx_glr_gallery_widgets_polygon_selector_demo.py`
.. raw:: html
Select indices from a collection using polygon selector
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_simple_thumb.png
:alt: Polygon Selector
:ref:`sphx_glr_gallery_widgets_polygon_selector_simple.py`
.. raw:: html
Polygon Selector
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_radio_buttons_thumb.png
:alt: Radio Buttons
:ref:`sphx_glr_gallery_widgets_radio_buttons.py`
.. raw:: html
Radio Buttons
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_range_slider_thumb.png
:alt: Thresholding an Image with RangeSlider
:ref:`sphx_glr_gallery_widgets_range_slider.py`
.. raw:: html
Thresholding an Image with RangeSlider
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_rectangle_selector_thumb.png
:alt: Rectangle and ellipse selectors
:ref:`sphx_glr_gallery_widgets_rectangle_selector.py`
.. raw:: html
Rectangle and ellipse selectors
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_slider_demo_thumb.png
:alt: Slider
:ref:`sphx_glr_gallery_widgets_slider_demo.py`
.. raw:: html
Slider
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_slider_snap_demo_thumb.png
:alt: Snapping Sliders to Discrete Values
:ref:`sphx_glr_gallery_widgets_slider_snap_demo.py`
.. raw:: html
Snapping Sliders to Discrete Values
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_span_selector_thumb.png
:alt: Span Selector
:ref:`sphx_glr_gallery_widgets_span_selector.py`
.. raw:: html
Span Selector
.. raw:: html
.. only:: html
.. image:: /gallery/widgets/images/thumb/sphx_glr_textbox_thumb.png
:alt: Textbox
:ref:`sphx_glr_gallery_widgets_textbox.py`
.. raw:: html
Textbox
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/annotated_cursor
/gallery/widgets/buttons
/gallery/widgets/check_buttons
/gallery/widgets/cursor
/gallery/widgets/lasso_selector_demo_sgskip
/gallery/widgets/menu
/gallery/widgets/mouse_cursor
/gallery/widgets/multicursor
/gallery/widgets/polygon_selector_demo
/gallery/widgets/polygon_selector_simple
/gallery/widgets/radio_buttons
/gallery/widgets/range_slider
/gallery/widgets/rectangle_selector
/gallery/widgets/slider_demo
/gallery/widgets/slider_snap_demo
/gallery/widgets/span_selector
/gallery/widgets/textbox