Skip to content

Commit b841186

Browse files
authored
Minor fix in multiple subplots example (#14078)
Minor fix in multiple subplots example
2 parents c1a3c03 + 244a407 commit b841186

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)