File tree 1 file changed +2
-2
lines changed
galleries/users_explain/figure 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ Hint: You will need to store the original
286
286
``xy `` location of the rectangle which is stored as ``rect.xy `` and
287
287
connect to the press, motion and release mouse events. When the mouse
288
288
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
290
290
the rectangle xy and the location of the mouse click in data coordinates.
291
291
In the motion event callback, compute the deltax and deltay of the
292
292
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
577
577
location. Different Matplotlib Artists can attach different data to
578
578
the PickEvent. For example, ``Line2D `` attaches the ind property,
579
579
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. ::
581
581
582
582
import numpy as np
583
583
import matplotlib.pyplot as plt
You can’t perform that action at this time.
0 commit comments