Gridspec for multi-column/row subplot layouts
(
):
for
i
,
ax
in
enumerate
(
):
ax
.
text
(
0.5
,
0.5
,
"ax
%d
"
%
(
i
+
1
),
va
=
"center"
,
ha
=
"center"
)
ax
.
tick_params
(
labelbottom
=
False
,
labelleft
=
False
)
=
(
layout
=
"constrained"
)
=
(
3
,
3
,
figure
=
)
=
(
[
0
,
:])
=
(
[
1
,
:
-
1
])
=
(
[
1
:,
-
1
])
=
(
[
-
1
,
0
])
=
(
[
-
1
,
-
2
])
(
"GridSpec"
)
format_axes
(
)
()