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

Appearance settings

Commit 896b78b

Browse filesBrowse files
committed
Move gridspec examples from userdemo to subplots_anxes_and_figures
While we should consolidate the examples for creating complex Axes layouts (or rather have a guide on this), that's beyond the scope of this PR. All three examples are special enough so that we want to keep them until we have something better.
1 parent e7fd79f commit 896b78b
Copy full SHA for 896b78b

File tree

3 files changed

+7
-1
lines changed
Filter options

3 files changed

+7
-1
lines changed

‎galleries/examples/userdemo/demo_gridspec01.py renamed to ‎galleries/examples/subplots_axes_and_figures/demo_gridspec01.py

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/demo_gridspec01.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
66
This example demonstrates the use of `.pyplot.subplot2grid` to generate
77
subplots. Using `.GridSpec`, as demonstrated in
8-
:doc:`/gallery/userdemo/demo_gridspec03` is generally preferred.
8+
:doc:`/gallery/subplot_and_figures/demo_gridspec03` is generally preferred.
9+
10+
.. redirect-from:: /gallery/userdemo/demo_gridspec01
911
"""
1012

1113
import matplotlib.pyplot as plt

‎galleries/examples/userdemo/demo_gridspec03.py renamed to ‎galleries/examples/subplots_axes_and_figures/demo_gridspec03.py

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/demo_gridspec03.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
*height_ratios*, and the control of the spacing around and between subplots
99
using subplot params (*left*, *right*, *bottom*, *top*, *wspace*, and
1010
*hspace*).
11+
12+
.. redirect-from:: /gallery/userdemo/demo_gridspec03
1113
"""
1214

1315
import matplotlib.pyplot as plt

‎galleries/examples/userdemo/demo_gridspec06.py renamed to ‎galleries/examples/subplots_axes_and_figures/demo_gridspec06.py

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/demo_gridspec06.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
================
55
66
This example demonstrates the use of nested `.GridSpec`\s.
7+
8+
.. redirect-from:: /gallery/userdemo/demo_gridspec06
79
"""
810

911
import matplotlib.pyplot as plt

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.