:orphan: .. _examples: :mod:`mplcursors` examples ========================== As `mplcursors` is fundamentally a library for interactivity, you should download the examples and try them yourself :-) .. vim: ft=rst .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_basic_thumb.png :alt: :ref:`sphx_glr_examples_basic.py` .. raw:: html
mplcursors' core functionality
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_hover_thumb.png :alt: :ref:`sphx_glr_examples_hover.py` .. raw:: html
Annotate on hover
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_change_popup_color_thumb.png :alt: :ref:`sphx_glr_examples_change_popup_color.py` .. raw:: html
Changing properties of the popup
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_contour_thumb.png :alt: :ref:`sphx_glr_examples_contour.py` .. raw:: html
Contour plots
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_image_thumb.png :alt: :ref:`sphx_glr_examples_image.py` .. raw:: html
Cursors on images
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_date_thumb.png :alt: :ref:`sphx_glr_examples_date.py` .. raw:: html
Datetime data
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_bar_thumb.png :alt: :ref:`sphx_glr_examples_bar.py` .. raw:: html
Display a bar's height and name on top of it upon hovering
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_artist_labels_thumb.png :alt: :ref:`sphx_glr_examples_artist_labels.py` .. raw:: html
Display an artist's label instead of x, y coordinates
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_labeled_points_thumb.png :alt: :ref:`sphx_glr_examples_labeled_points.py` .. raw:: html
Displaying a custom label for each individual point
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_dataframe_thumb.png :alt: :ref:`sphx_glr_examples_dataframe.py` .. raw:: html
Extracting data and labels from a DataFrame
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_highlight_thumb.png :alt: :ref:`sphx_glr_examples_highlight.py` .. raw:: html
Highlighting the artist upon selection
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_keyboard_shortcuts_thumb.png :alt: :ref:`sphx_glr_examples_keyboard_shortcuts.py` .. raw:: html
Keyboard shortcuts
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_paired_highlight_thumb.png :alt: :ref:`sphx_glr_examples_paired_highlight.py` .. raw:: html
Linked artists
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_scatter_thumb.png :alt: :ref:`sphx_glr_examples_scatter.py` .. raw:: html
Scatter plots are highlighted point-by-point.
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_step_thumb.png :alt: :ref:`sphx_glr_examples_step.py` .. raw:: html
Step plots
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_nondraggable_thumb.png :alt: :ref:`sphx_glr_examples_nondraggable.py` .. raw:: html
Using multiple annotations and disabling draggability via signals
.. raw:: html
.. toctree:: :hidden: /examples/basic /examples/hover /examples/change_popup_color /examples/contour /examples/image /examples/date /examples/bar /examples/artist_labels /examples/labeled_points /examples/dataframe /examples/highlight /examples/keyboard_shortcuts /examples/paired_highlight /examples/scatter /examples/step /examples/nondraggable .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_