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 e715e01

Browse filesBrowse files
authored
Merge pull request #29588 from meeseeksmachine/auto-backport-of-pr-25801-on-v3.10.0-doc
Backport PR #25801 on branch v3.10.0-doc (Remove some examples from Userdemo)
2 parents 3024b60 + f15ad26 commit e715e01
Copy full SHA for e715e01

File tree

3 files changed

+14
-9
lines changed
Filter options

3 files changed

+14
-9
lines changed

‎doc/users/prev_whats_new/whats_new_1.0.rst

Copy file name to clipboardExpand all lines: doc/users/prev_whats_new/whats_new_1.0.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ doing complex subplot layouts, featuring row and column spans and
2626
more. See :ref:`arranging_axes` for a tutorial
2727
overview.
2828

29-
.. figure:: ../../gallery/userdemo/images/sphx_glr_demo_gridspec01_001.png
30-
:target: ../../gallery/userdemo/demo_gridspec01.html
29+
.. figure:: ../../gallery/subplots_axes_and_figures/images/sphx_glr_subplot2grid_001.png
30+
:target: ../../gallery/subplots_axes_and_figures/subplot2grid.html
3131
:align: center
3232
:scale: 50
3333

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

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/gridspec_customization.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
"""
2-
=============
3-
GridSpec demo
4-
=============
2+
========================================
3+
GridSpec with variable sizes and spacing
4+
========================================
55
66
This example demonstrates the use of `.GridSpec` to generate subplots,
77
the control of the relative sizes of subplots with *width_ratios* and
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_gridspec01.py renamed to ‎galleries/examples/subplots_axes_and_figures/subplot2grid.py

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/subplot2grid.py
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
"""
2-
=================
3-
subplot2grid demo
4-
=================
2+
============
3+
subplot2grid
4+
============
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/subplots_axes_and_figures/gridspec_customization` is
9+
generally preferred.
10+
11+
.. redirect-from:: /gallery/userdemo/demo_gridspec01
912
"""
1013

1114
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.