Skip to content

Commit fbb92c4

Browse files
story645melissawm
authored andcommitted
Backport PR matplotlib#23705: DOC: Added link to class under discussion
1 parent e8c6b74 commit fbb92c4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tutorials/text/annotations.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,11 @@
443443
# ~~~~~~~~~~~~~~~~~~~~~
444444
#
445445
# `.ConnectionPatch` is like an annotation without text. While `~.Axes.annotate`
446+
<<<<<<< HEAD
446447
# is sufficient in most situations, `.ConnectionPatch` is useful when you want to
448+
=======
449+
# is sufficient in most situations, ``ConnectionPatch`` is useful when you want to
450+
>>>>>>> 056eb64245 (Backport PR #23705: DOC: Added link to class under discussion)
447451
# connect points in different axes. ::
448452
#
449453
# from matplotlib.patches import ConnectionPatch
@@ -459,7 +463,11 @@
459463
# :target: ../../gallery/userdemo/connect_simple01.html
460464
# :align: center
461465
#
466+
<<<<<<< HEAD
462467
# Here, we added the `.ConnectionPatch` to the *figure* (with `~.Figure.add_artist`)
468+
=======
469+
# Here, we added the ``ConnectionPatch`` to the *figure* (with `~.Figure.add_artist`)
470+
>>>>>>> 056eb64245 (Backport PR #23705: DOC: Added link to class under discussion)
463471
# rather than to either axes: this ensures that it is drawn on top of both axes,
464472
# and is also necessary if using :doc:`constrained_layout
465473
# </tutorials/intermediate/constrainedlayout_guide>` for positioning the axes.

0 commit comments

Comments
 (0)