We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819c483 commit e587e5eCopy full SHA for e587e5e
examples/subplots_axes_and_figures/gridspec_nested.py
@@ -28,8 +28,8 @@ def format_axes(fig):
28
ax2 = f.add_subplot(gs00[-1, :-1])
29
ax3 = f.add_subplot(gs00[-1, -1])
30
31
-
32
-gs01 = gridspec.GridSpecFromSubplotSpec(3, 3, subplot_spec=gs0[1])
+# the following syntax is the same as the GridSpecFromSubplotSpec call above:
+gs01 = gs0[1].subgridspec(3, 3)
33
34
ax4 = f.add_subplot(gs01[:, :-1])
35
ax5 = f.add_subplot(gs01[:-1, -1])
0 commit comments