8000 Merge pull request #14091 from meeseeksmachine/auto-backport-of-pr-14… · matplotlib/matplotlib@11cb10b · GitHub
[go: up one dir, main page]

Skip to content

Commit 11cb10b

Browse files
authored
Merge pull request #14091 from meeseeksmachine/auto-backport-of-pr-14078-on-v3.1.x
Backport PR #14078 on branch v3.1.x (Minor fix in multiple subplots example)
2 parents b9d3c83 + ec8f40e commit 11cb10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/subplots_axes_and_figures/subplots_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
ax3.plot(x, -y, 'tab:green')
105105
ax4.plot(x, -y**2, 'tab:red')
106106

107-
for ax in axs.flat:
107+
for ax in fig.get_axes():
108108
ax.label_outer()
109109

110110
###############################################################################

0 commit comments

Comments
 (0)
0