8000 Backport PR #13514: Add missing show() at end of example. · matplotlib/matplotlib@e946d51 · GitHub
[go: up one dir, main page]

Skip to content

Commit e946d51

Browse files
dstansbyMeeseeksDev[bot]
authored andcommitted
Backport PR #13514: Add missing show() at end of example.
1 parent f459796 commit e946d51

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