Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f46d83

Browse files
authored
Merge pull request matplotlib#29592 from timhoffm/doc-userdemo-simple_legend
DOC: Remove simple_legend examples from User Demo
2 parents e8d58af + a0d5b0a commit 1f46d83

File tree

6 files changed

+20
-48
lines changed

6 files changed

+20
-48
lines changed

‎galleries/examples/text_labels_and_annotations/figlegend_demo.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@
2525
# %%
2626
# The outside positioning is discussed in detail here:
2727
# https://matplotlib.org/stable/users/explain/axes/legend_guide.html#figure-legends
28+
#
29+
#
30+
# .. seealso::
31+
#
32+
# The :ref:`legend_guide` contains an in depth discussion on the configuration
33+
# options for legends.

‎galleries/examples/text_labels_and_annotations/legend.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,8 @@
3737
#
3838
# - `matplotlib.axes.Axes.plot` / `matplotlib.pyplot.plot`
3939
# - `matplotlib.axes.Axes.legend` / `matplotlib.pyplot.legend`
40+
#
41+
# .. seealso::
42+
#
43+
# The :ref:`legend_guide` contains an in depth discussion on the configuration
44+
# options for legends.

‎galleries/examples/text_labels_and_annotations/legend_demo.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,10 @@ def create_artists(self, legend, orig_handle,
178178
handlelength=2.5, handleheight=3)
179179

180180
plt.show()
181+
182+
# %%
183+
#
184+
# .. seealso::
185+
#
186+
# The :ref:`legend_guide` contains an in depth discussion on the configuration
187+
# options for legends.

‎galleries/examples/userdemo/simple_legend01.py‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎galleries/examples/userdemo/simple_legend02.py‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎galleries/users_explain/axes/legend_guide.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""
22
.. redirect-from:: /tutorials/intermediate/legend_guide
3+
.. redirect-from:: /galleries/examples/userdemo/simple_legend01
4+
.. redirect-from:: /galleries/examples/userdemo/simple_legend02
35
46
.. _legend_guide:
57

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /