Skip to content

Commit c4039ba

Browse files
story645melissawm
authored andcommitted
Backport PR matplotlib#23864: Correct and improve documentation for anchored artists
1 parent 0d71a16 commit c4039ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tutorials/text/annotations.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,14 @@
444444
#
445445
# `.ConnectionPatch` is like an annotation without text. While `~.Axes.annotate`
446446
<<<<<<< HEAD
447+
<<<<<<< HEAD
447448
# is sufficient in most situations, `.ConnectionPatch` is useful when you want to
448449
=======
449450
# is sufficient in most situations, ``ConnectionPatch`` is useful when you want to
450451
>>>>>>> 056eb64245 (Backport PR #23705: DOC: Added link to class under discussion)
452+
=======
453+
# is sufficient in most situations, `.ConnectionPatch` is useful when you want to
454+
>>>>>>> 2b8315933d (Backport PR #23864: Correct and improve documentation for anchored artists)
451455
# connect points in different axes. ::
452456
#
453457
# from matplotlib.patches import ConnectionPatch
@@ -464,10 +468,14 @@
464468
# :align: center
465469
#
466470
<<<<<<< HEAD
471+
<<<<<<< HEAD
467472
# Here, we added the `.ConnectionPatch` to the *figure* (with `~.Figure.add_artist`)
468473
=======
469474
# Here, we added the ``ConnectionPatch`` to the *figure* (with `~.Figure.add_artist`)
470475
>>>>>>> 056eb64245 (Backport PR #23705: DOC: Added link to class under discussion)
476+
=======
477+
# Here, we added the `.ConnectionPatch` to the *figure* (with `~.Figure.add_artist`)
478+
>>>>>>> 2b8315933d (Backport PR #23864: Correct and improve documentation for anchored artists)
471479
# rather than to either axes: this ensures that it is drawn on top of both axes,
472480
# and is also necessary if using :doc:`constrained_layout
473481
# </tutorials/intermediate/constrainedlayout_guide>` for positioning the axes.

0 commit comments

Comments
 (0)