From 43005d41b28d529ca6f7c987f48f46aaa1595520 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 19 Aug 2025 10:36:17 -0400 Subject: [PATCH] Backport PR #30444: Small correction of a typo in the galleries: axis instead of axes --- galleries/users_explain/artists/color_cycle.py | 2 +- galleries/users_explain/axes/constrainedlayout_guide.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galleries/users_explain/artists/color_cycle.py b/galleries/users_explain/artists/color_cycle.py index a5d789028700..afd08f40f8db 100644 --- a/galleries/users_explain/artists/color_cycle.py +++ b/galleries/users_explain/artists/color_cycle.py @@ -52,7 +52,7 @@ # %% # Now we'll generate a figure with two Axes, one on top of the other. On the -# first axis, we'll plot with the default cycler. On the second axis, we'll +# first axes, we'll plot with the default cycler. On the second axes, we'll # set the ``prop_cycle`` using :func:`matplotlib.axes.Axes.set_prop_cycle`, # which will only set the ``prop_cycle`` for this :mod:`matplotlib.axes.Axes` # instance. We'll use a second ``cycler`` that combines a color cycler and a diff --git a/galleries/users_explain/axes/constrainedlayout_guide.py b/galleries/users_explain/axes/constrainedlayout_guide.py index 4697d82ba6a6..c57b41a99790 100644 --- a/galleries/users_explain/axes/constrainedlayout_guide.py +++ b/galleries/users_explain/axes/constrainedlayout_guide.py @@ -164,7 +164,7 @@ def example_plot(ax, fontsize=12, hide_labels=False): # Legends # ======= # -# Legends can be placed outside of their parent axis. +# Legends can be placed outside of their parent axes. # *Constrained layout* is designed to handle this for :meth:`.Axes.legend`. # However, *constrained layout* does *not* handle legends being created via # :meth:`.Figure.legend` (yet).