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()