From d93b06430ce156e8dc525982b3b83157b8656508 Mon Sep 17 00:00:00 2001 From: Siddharth_Savani <138082722+SidSav@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:45:05 +0000 Subject: [PATCH] DOC: escape broken cross links --- galleries/users_explain/figure/event_handling.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galleries/users_explain/figure/event_handling.rst b/galleries/users_explain/figure/event_handling.rst index 32da038634ae..caf987e3d6da 100644 --- a/galleries/users_explain/figure/event_handling.rst +++ b/galleries/users_explain/figure/event_handling.rst @@ -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 @@ -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