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.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: