From 2c33c0a9b7e8e84ab8cb626e7a9bd5920a5b286a Mon Sep 17 00:00:00 2001 From: hannah Date: Tue, 3 Oct 2023 17:38:17 -0400 Subject: [PATCH] Backport PR #26985: Reformatted documentation under toolkits and tutorials directory --- galleries/tutorials/index.rst | 12 ++++++------ galleries/users_explain/toolkits/axes_grid.rst | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/galleries/tutorials/index.rst b/galleries/tutorials/index.rst index e51c35a214cd..ace37dcb6f57 100644 --- a/galleries/tutorials/index.rst +++ b/galleries/tutorials/index.rst @@ -118,14 +118,14 @@ User guide tutorials Many of our tutorials were moved from this section to :ref:`users-guide-index`: Introductory -~~~~~~~~~~~~ +^^^^^^^^^^^^ - :ref:`quick_start` - :ref:`customizing` - :ref:`animations` Intermediate -~~~~~~~~~~~~ +^^^^^^^^^^^^ - :ref:`legend_guide` - :ref:`color_cycle` @@ -136,7 +136,7 @@ Intermediate - :ref:`imshow_extent` Advanced -~~~~~~~~ +^^^^^^^^ - :ref:`blitting` - :ref:`paths` @@ -144,16 +144,16 @@ Advanced - :ref:`transforms_tutorial` Colors -~~~~~~ +^^^^^^ See :ref:`tutorials-colors`. Text -~~~~ +^^^^ See :ref:`tutorials-text`. Toolkits -~~~~~~~~ +^^^^^^^^ See :ref:`tutorials-toolkits`. diff --git a/galleries/users_explain/toolkits/axes_grid.rst b/galleries/users_explain/toolkits/axes_grid.rst index a9c39bd55b10..ba37c4cf7d78 100644 --- a/galleries/users_explain/toolkits/axes_grid.rst +++ b/galleries/users_explain/toolkits/axes_grid.rst @@ -86,7 +86,7 @@ colorbar whose height (or width) is in sync with the main axes :align: center scatter_hist.py with AxesDivider -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The :doc:`/gallery/lines_bars_and_markers/scatter_hist` example can be rewritten using `~.axes_grid1.axes_divider.make_axes_locatable`:: @@ -141,14 +141,14 @@ parasite axes. To create a host axes, you may use ``host_subplot`` or ``host_axes`` command. Example 1: twinx -~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^ .. figure:: /gallery/axes_grid1/images/sphx_glr_parasite_simple_001.png :target: /gallery/axes_grid1/parasite_simple.html :align: center Example 2: twin -~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^ ``twin`` without a transform argument assumes that the parasite axes has the same data transform as the host. This can be useful when you want the