10000 Merge pull request #23705 from madphysicist/patch-1 · matplotlib/matplotlib@5773bf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5773bf9

Browse files
authored
Merge pull request #23705 from madphysicist/patch-1
DOC: Added link to class under discussion
2 parents c4082c1 + 74ae302 commit 5773bf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/text/annotations.py

Lines changed: 3 additions & 3 deletions
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)
0