From 74ae30250bfc58949c7ef35ceef121aac78e0b43 Mon Sep 17 00:00:00 2001 From: Joseph Fox-Rabinovitz Date: Mon, 22 Aug 2022 11:52:08 -0500 Subject: [PATCH] DOC: Added link to class under discussion --- tutorials/text/annotations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/text/annotations.py b/tutorials/text/annotations.py index 3bb41b8565f1..55eea34f77f6 100644 --- a/tutorials/text/annotations.py +++ b/tutorials/text/annotations.py @@ -440,8 +440,8 @@ # Using ConnectionPatch # ~~~~~~~~~~~~~~~~~~~~~ # -# ConnectionPatch is like an annotation without text. While `~.Axes.annotate` -# is sufficient in most situations, ConnectionPatch is useful when you want to +# `.ConnectionPatch` is like an annotation without text. While `~.Axes.annotate` +# is sufficient in most situations, ``ConnectionPatch`` is useful when you want to # connect points in different axes. :: # # from matplotlib.patches import ConnectionPatch @@ -457,7 +457,7 @@ # :target: ../../gallery/userdemo/connect_simple01.html # :align: center # -# Here, we added the ConnectionPatch to the *figure* (with `~.Figure.add_artist`) +# Here, we added the ``ConnectionPatch`` to the *figure* (with `~.Figure.add_artist`) # rather than to either axes: this ensures that it is drawn on top of both axes, # and is also necessary if using :doc:`constrained_layout # ` for positioning the axes.