From 87fea98c1abc7cf1474854c2f73a13bea2a4893c Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sun, 9 Oct 2016 01:38:21 -0700 Subject: [PATCH] Add mplcursors to third-party packages. Self-plug :-) --- doc/thirdpartypackages/index.rst | 9 +++++++++ examples/pylab_examples/cursor_demo.py | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/thirdpartypackages/index.rst b/doc/thirdpartypackages/index.rst index 4c803b88b555..6f8d56cc20a9 100644 --- a/doc/thirdpartypackages/index.rst +++ b/doc/thirdpartypackages/index.rst @@ -134,6 +134,15 @@ toolkit written by Joe Kington to provide interactive "data cursors" (clickable annotation boxes) for matplotlib. +.. _toolkit_mplcursors: + +mplcursors +========== + +`mplcursors `_ provides interactive +data cursors for matplotlib. + + .. _toolkit_natgrid: Natgrid diff --git a/examples/pylab_examples/cursor_demo.py b/examples/pylab_examples/cursor_demo.py index f5001b768e8d..57d28f8e1236 100755 --- a/examples/pylab_examples/cursor_demo.py +++ b/examples/pylab_examples/cursor_demo.py @@ -8,8 +8,10 @@ Faster cursoring is possible using native GUI drawing, as in wxcursor_demo.py. -Also, mpldatacursor can be used to achieve a similar effect. See webpage: -https://github.com/joferkington/mpldatacursor +The mpldatacursor and mplcursors third-party packages can be used to achieve a +similar effect. See + https://github.com/joferkington/mpldatacursor + https://github.com/anntzer/mplcursors """ from __future__ import print_function import matplotlib.pyplot as plt