From ec8f40ebdc0fbd5a3cafd12e49d44db0cd50fe20 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Mon, 29 Apr 2019 20:42:36 +0200 Subject: [PATCH] Backport PR #14078: Minor fix in multiple subplots example --- examples/subplots_axes_and_figures/subplots_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/subplots_axes_and_figures/subplots_demo.py b/examples/subplots_axes_and_figures/subplots_demo.py index d1cb4dbf8527..c850cec7be6c 100644 --- a/examples/subplots_axes_and_figures/subplots_demo.py +++ b/examples/subplots_axes_and_figures/subplots_demo.py @@ -104,7 +104,7 @@ ax3.plot(x, -y, 'tab:green') ax4.plot(x, -y**2, 'tab:red') -for ax in axs.flat: +for ax in fig.get_axes(): ax.label_outer() ###############################################################################