Skip to content

Commit ed237d8

Browse files
authored
Merge pull request #23706 from meeseeksmachine/auto-backport-of-pr-23705-on-v3.6.x
Backport PR #23705 on branch v3.6.x (DOC: Added link to class under discussion)
2 parents b7bccee + 056eb64 commit ed237d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/text/annotations.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@
440440
# Using ConnectionPatch
441441
# ~~~~~~~~~~~~~~~~~~~~~
442442
#
443-
# ConnectionPatch is like an annotation without text. While `~.Axes.annotate`
444-
# is sufficient in most situations, ConnectionPatch is useful when you want to
443+
# `.ConnectionPatch` is like an annotation without text. While `~.Axes.annotate`
444+
# is sufficient in most situations, ``ConnectionPatch`` is useful when you want to
445445
# connect points in different axes. ::
446446
#
447447
# from matplotlib.patches import ConnectionPatch
@@ -457,7 +457,7 @@
457457
# :target: ../../gallery/userdemo/connect_simple01.html
458458
# :align: center
459459
#
460-
# Here, we added the ConnectionPatch to the *figure* (with `~.Figure.add_artist`)
460+
# Here, we added the ``ConnectionPatch`` to the *figure* (with `~.Figure.add_artist`)
461461
# rather than to either axes: this ensures that it is drawn on top of both axes,
462462
# and is also necessary if using :doc:`constrained_layout
463463
# </tutorials/intermediate/constrainedlayout_guide>` for positioning the axes.

0 commit comments

Comments
 (0)