File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
galleries/users_explain/figure Expand file tree Collapse file tree 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
286286``xy `` location of the rectangle which is stored as ``rect.xy `` and
287287connect to the press, motion and release mouse events. When the mouse
288288is 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
290290the rectangle xy and the location of the mouse click in data coordinates.
291291In the motion event callback, compute the deltax and deltay of the
292292mouse 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
577577location. Different Matplotlib Artists can attach different data to
578578the PickEvent. For example, ``Line2D `` attaches the ind property,
579579which 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
You can’t perform that action at this time.
0 commit comments