mplcursors provides interactive data selection cursors for Matplotlib. It is inspired from mpldatacursor, with a much simplified API.
mplcursors requires Matplotlib≥3.1.
Read the documentation on readthedocs.org.
As usual, install using pip:
$ pip install mplcursors # from PyPI
$ pip install git+https://github.com/anntzer/mplcursors # from Github
or your favorite package manager.
Run tests with pytest.