Skip to content

Remove redundant axes_grid colorbar examples. #27254

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
Nov 2, 2023
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
33 changes: 0 additions & 33 deletions galleries/examples/axes_grid1/demo_colorbar_of_inset_axes.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
Users should consider simply passing the main axes to the *ax* keyword argument of
`~.Figure.colorbar` instead of creating a locatable axes manually like this.
See :ref:`colorbar_placement`.

.. redirect-from:: /gallery/axes_grid1/simple_colorbar
"""

import matplotlib.pyplot as plt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
Users should consider using `.Axes.inset_axes` instead (see
:ref:`colorbar_placement`).

.. redirect-from:: /gallery/axes_grid1/demo_colorbar_of_inset_axes
"""

import matplotlib.pyplot as plt
Expand Down
22 changes: 0 additions & 22 deletions galleries/examples/axes_grid1/simple_colorbar.py

This file was deleted.

4 changes: 2 additions & 2 deletions galleries/users_explain/toolkits/axes_grid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ side ("left", "right", "top", "bottom") of the original axes.
colorbar whose height (or width) is in sync with the main axes
--------------------------------------------------------------

.. figure:: /gallery/axes_grid1/images/sphx_glr_simple_colorbar_001.png
:target: /gallery/axes_grid1/simple_colorbar.html
.. figure:: /gallery/axes_grid1/images/sphx_glr_demo_colorbar_with_axes_divider_001.png
:target: /gallery/axes_grid1/demo_colorbar_with_axes_divider.html
:align: center

scatter_hist.py with AxesDivider
Expand Down