From e946d51a71936b6972376277ce158d049efda074 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 25 Feb 2019 13:52:44 +0000 Subject: [PATCH] Backport PR #13514: Add missing show() at end of example. --- examples/subplots_axes_and_figures/gridspec_and_subplots.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/subplots_axes_and_figures/gridspec_and_subplots.py b/examples/subplots_axes_and_figures/gridspec_and_subplots.py index a263ef8893a2..fbb7ebd013a0 100644 --- a/examples/subplots_axes_and_figures/gridspec_and_subplots.py +++ b/examples/subplots_axes_and_figures/gridspec_and_subplots.py @@ -8,8 +8,9 @@ and then remove the covered axes and fill the gap with a new bigger axes. Here we create a layout with the bottom two axes in the last column combined. -See: :doc:`/tutorials/intermediate/gridspec` +See also :doc:`/tutorials/intermediate/gridspec`. """ + import matplotlib.pyplot as plt fig, axs = plt.subplots(ncols=3, nrows=3) @@ -22,3 +23,5 @@ xycoords='axes fraction', va='center') fig.tight_layout() + +plt.show()