From 4f390160157e7f433ee476a5f94bc31727c35be3 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Thu, 28 May 2026 12:06:21 +0200 Subject: [PATCH] DOC: Move multiple yaxis example from Spines to Subplots, axes and figures The primary aspect here is the multiple Axis feature. Therefore it should live next to the other `twinx()` examples. The spine aspect is only a technical detail need to move the third y-axis. A user would not look for this in the Spines section. --- .../multiple_yaxis_with_spines.py | 2 ++ 1 file changed, 2 insertions(+) rename galleries/examples/{spines => subplots_axes_and_figures}/multiple_yaxis_with_spines.py (96%) diff --git a/galleries/examples/spines/multiple_yaxis_with_spines.py b/galleries/examples/subplots_axes_and_figures/multiple_yaxis_with_spines.py similarity index 96% rename from galleries/examples/spines/multiple_yaxis_with_spines.py rename to galleries/examples/subplots_axes_and_figures/multiple_yaxis_with_spines.py index a0281bdeda0f..033422cadad0 100644 --- a/galleries/examples/spines/multiple_yaxis_with_spines.py +++ b/galleries/examples/subplots_axes_and_figures/multiple_yaxis_with_spines.py @@ -11,6 +11,8 @@ `~matplotlib.spines.Spine`\s. Alternative approaches using non-standard Axes are shown in the :doc:`/gallery/axisartist/demo_parasite_axes` and :doc:`/gallery/axisartist/demo_parasite_axes2` examples. + +.. redirect-from:: /gallery/spines/multiple_yaxis_with_spines """ import matplotlib.pyplot as plt