Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0af2917

Browse files
authored
Merge pull request #13514 from anntzer/moreshow
Add missing show() at end of example.
2 parents 092fb09 + 7989ed9 commit 0af2917

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/subplots_axes_and_figures/gridspec_and_subplots.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
and then remove the covered axes and fill the gap with a new bigger axes.
99
Here we create a layout with the bottom two axes in the last column combined.
1010
11-
See: :doc:`/tutorials/intermediate/gridspec`
11+
See also :doc:`/tutorials/intermediate/gridspec`.
1212
"""
13+
1314
import matplotlib.pyplot as plt
1415

1516
fig, axs = plt.subplots(ncols=3, nrows=3)
@@ -22,3 +23,5 @@
2223
xycoords='axes fraction', va='center')
2324

2425
fig.tight_layout()
26+
27+
plt.show()

0 commit comments

Comments
 (0)