Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d93b064

Browse files
committed
DOC: escape broken cross links
1 parent 0b6222b commit d93b064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

galleries/users_explain/figure/event_handling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Hint: You will need to store the original
286286
``xy`` location of the rectangle which is stored as ``rect.xy`` and
287287
connect to the press, motion and release mouse events. When the mouse
288288
is pressed, check to see if the click occurs over your rectangle (see
289-
`.Rectangle.contains`) and if it does, store
289+
`!.Rectangle.contains`) and if it does, store
290290
the rectangle xy and the location of the mouse click in data coordinates.
291291
In the motion event callback, compute the deltax and deltay of the
292292
mouse movement, and add those deltas to the origin of the rectangle
@@ -577,7 +577,7 @@ callback function simply prints the data that are under the pick
577577
location. Different Matplotlib Artists can attach different data to
578578
the PickEvent. For example, ``Line2D`` attaches the ind property,
579579
which are the indices into the line data under the pick point. See
580-
`.Line2D.pick` for details on the ``PickEvent`` properties of the line. ::
580+
`!.Line2D.pick` for details on the ``PickEvent`` properties of the line. ::
581581

582582
import numpy as np
583583
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)