Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4cfe922

Browse filesBrowse files
authored
Merge pull request #23310 from timhoffm/move-example
Move Cursor demo from examples/misc to examples/event_handling
2 parents ae67ac8 + 0d89db3 commit 4cfe922
Copy full SHA for 4cfe922

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎examples/misc/cursor_demo.py renamed to ‎examples/event_handling/cursor_demo.py

Copy file name to clipboardExpand all lines: examples/event_handling/cursor_demo.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
2222
__ https://github.com/joferkington/mpldatacursor
2323
__ https://github.com/anntzer/mplcursors
24+
25+
.. redirect-from:: /gallery/misc/cursor_demo
2426
"""
2527

2628
import matplotlib.pyplot as plt

‎examples/widgets/annotated_cursor.py

Copy file name to clipboardExpand all lines: examples/widgets/annotated_cursor.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
creation of new widgets and their event callbacks.
1111
1212
See also the :doc:`cross hair cursor
13-
</gallery/misc/cursor_demo>`, which implements a cursor tracking the plotted
14-
data, but without using inheritance and without displaying the currently
15-
tracked coordinates.
13+
</gallery/event_handling/cursor_demo>`, which implements a cursor tracking the
14+
plotted data, but without using inheritance and without displaying the
15+
currently tracked coordinates.
1616
1717
.. note::
1818
The figure related to this example does not show the cursor, because that

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.