From aa2c51b623b372df5c29cb55a8bbff20ea30f782 Mon Sep 17 00:00:00 2001 From: Muhammad Abdur Rakib <103581704+rifatrakib@users.noreply.github.com> Date: Sat, 15 Oct 2022 12:14:01 +0600 Subject: [PATCH] typo fixed in code snippet for undeclared variable variable `axs` was not defined in the code snippet of `Sharing x per column, y per row` figure, rather it was defined in some earlier snippets. The intended use here is applying `label_outer()` on the axes of the figure in the current snippet. --- 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 bbc8afa469fa..41b14dadd620 100644 --- a/examples/subplots_axes_and_figures/subplots_demo.py +++ b/examples/subplots_axes_and_figures/subplots_demo.py @@ -176,7 +176,7 @@ ax3.plot(x + 1, -y, 'tab:green') ax4.plot(x + 2, -y**2, 'tab:red') -for ax in axs.flat: +for ax in fig.get_axes(): ax.label_outer() ###############################################################################
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: