Skip to content

Commit 8a0b01c

Browse files
authored
Merge pull request matplotlib#27254 from anntzer/agcd
Remove redundant axes_grid colorbar examples.
2 parents a3b2576 + 1a83a43 commit 8a0b01c

File tree

5 files changed

+5
-57
lines changed

5 files changed

+5
-57
lines changed

galleries/examples/axes_grid1/demo_colorbar_of_inset_axes.py

-33
This file was deleted.

galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
Users should consider simply passing the main axes to the *ax* keyword argument of
1515
`~.Figure.colorbar` instead of creating a locatable axes manually like this.
1616
See :ref:`colorbar_placement`.
17+
18+
.. redirect-from:: /gallery/axes_grid1/simple_colorbar
1719
"""
1820

1921
import matplotlib.pyplot as plt

galleries/examples/axes_grid1/demo_colorbar_with_inset_locator.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
Users should consider using `.Axes.inset_axes` instead (see
1717
:ref:`colorbar_placement`).
1818
19+
.. redirect-from:: /gallery/axes_grid1/demo_colorbar_of_inset_axes
1920
"""
2021

2122
import matplotlib.pyplot as plt

galleries/examples/axes_grid1/simple_colorbar.py

-22
This file was deleted.

galleries/users_explain/toolkits/axes_grid.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ side ("left", "right", "top", "bottom") of the original axes.
8181
colorbar whose height (or width) is in sync with the main axes
8282
--------------------------------------------------------------
8383

84-
.. figure:: /gallery/axes_grid1/images/sphx_glr_simple_colorbar_001.png
85-
:target: /gallery/axes_grid1/simple_colorbar.html
84+
.. figure:: /gallery/axes_grid1/images/sphx_glr_demo_colorbar_with_axes_divider_001.png
85+
:target: /gallery/axes_grid1/demo_colorbar_with_axes_divider.html
8686
:align: center
8787

8888
scatter_hist.py with AxesDivider

0 commit comments

Comments
 (0)