Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 820ea41

Browse filesBrowse files
authored
Merge pull request #13516 from meeseeksmachine/auto-backport-of-pr-13514-on-v3.1.x
Backport PR #13514 on branch v3.1.x (Add missing show() at end of example.)
2 parents f459796 + e946d51 commit 820ea41
Copy full SHA for 820ea41

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎examples/subplots_axes_and_figures/gridspec_and_subplots.py

Copy file name to clipboardExpand all lines: examples/subplots_axes_and_figures/gridspec_and_subplots.py
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.