Mplcursors

Latest version: v0.6

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6

---

- Fix compatibility with Matplotlib 3.9 and numpy 2.
- Fix disabling multiple key bindings.
- Remove the deprecated ``Selection.target.index``.

0.5.3

-----

- Require Python 3.7 (due to setuptools support ranges); mark Matplotlib 3.7.1
as incompatible.
- Highlights can be removed by right-clicking anywhere on the highlighting
artist, not only on the annotation.

0.5.2

-----

- Fix compatibility with Matplotlib 3.6 and with PEP517 builds.
- Non-multiple cursors can now be dragged.

0.5.1

-----

No new features; minor changes to docs.

0.5

---

- **Breaking change**: ``index`` is now a direct attribute of the `Selection`,
rather than a sub-attribute via ``target``. (``Selection.target.index`` has
been deprecated and will be removed in the future.)
- Additional annotations are no longer created when dragging a ``multiple``
cursor.
- Clicking on an annotation also updates the "current" selection for keyboard
motion purposes.
- Disabling a cursor also makes it unresponsive to motion keys.
- Hovering is still active when the pan or zoom buttons are pressed (but not if
there's a pan or zoom currently being selected).
- Annotations are now :class:`~matplotlib.figure.Figure`-level artists, rather
than Axes-level ones (so as to be drawn on top of twinned axes, if present).

0.4

---

- Invisible artists are now unpickable (patch suggested by eBardieCT).
- The ``bindings`` kwarg can require modifier keys for mouse button events.
- Transient hovering (suggested by LaurenceMolloy).
- Switch to supporting only "new-style"
(:class:`~matplotlib.collections.LineCollection`)
:meth:`~matplotlib.axes.Axes.stem` plots.
- Cursors are drawn with ``zorder=np.inf``.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.