Skip to content

DOC: escape broken cross links #29087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions galleries/users_explain/figure/event_handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Hint: You will need to store the original
``xy`` location of the rectangle which is stored as ``rect.xy`` and
connect to the press, motion and release mouse events. When the mouse
is pressed, check to see if the click occurs over your rectangle (see
`.Rectangle.contains`) and if it does, store
`!.Rectangle.contains`) and if it does, store
the rectangle xy and the location of the mouse click in data coordinates.
In the motion event callback, compute the deltax and deltay of the
mouse movement, and add those deltas to the origin of the rectangle
Expand Down Expand Up @@ -577,7 +577,7 @@ callback function simply prints the data that are under the pick
location. Different Matplotlib Artists can attach different data to
the PickEvent. For example, ``Line2D`` attaches the ind property,
which are the indices into the line data under the pick point. See
`.Line2D.pick` for details on the ``PickEvent`` properties of the line. ::
`!.Line2D.pick` for details on the ``PickEvent`` properties of the line. ::

import numpy as np
import matplotlib.pyplot as plt
Expand Down