Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove some examples from Userdemo #25801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/users/prev_whats_new/whats_new_1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ doing complex subplot layouts, featuring row and column spans and
more. See :ref:`arranging_axes` for a tutorial
overview.

.. figure:: ../../gallery/userdemo/images/sphx_glr_demo_gridspec01_001.png
:target: ../../gallery/userdemo/demo_gridspec01.html
.. figure:: ../../gallery/subplots_axes_and_figures/images/sphx_glr_subplot2grid_001.png
:target: ../../gallery/subplots_axes_and_figures/subplot2grid.html
:align: center
:scale: 50

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
"""
=============
GridSpec demo
=============
========================================
GridSpec with variable sizes and spacing
========================================

This example demonstrates the use of `.GridSpec` to generate subplots,
the control of the relative sizes of subplots with *width_ratios* and
*height_ratios*, and the control of the spacing around and between subplots
using subplot params (*left*, *right*, *bottom*, *top*, *wspace*, and
*hspace*).

.. redirect-from:: /gallery/userdemo/demo_gridspec03
"""

import matplotlib.pyplot as plt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
"""
=================
subplot2grid demo
=================
============
subplot2grid
============

This example demonstrates the use of `.pyplot.subplot2grid` to generate
subplots. Using `.GridSpec`, as demonstrated in
:doc:`/gallery/userdemo/demo_gridspec03` is generally preferred.
:doc:`/gallery/subplots_axes_and_figures/gridspec_customization` is
generally preferred.

.. redirect-from:: /gallery/userdemo/demo_gridspec01
"""

import matplotlib.pyplot as plt
Expand Down