Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fffd6ce

Browse files
authored
Merge pull request #24174 from meeseeksmachine/auto-backport-of-pr-24171-on-v3.6.x
Backport PR #24171 on branch v3.6.x (Fix example where wrong variable was used)
2 parents 0843d35 + 90ce3ab commit fffd6ce

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
@@ -176,7 +176,7 @@
176176
ax3.plot(x + 1, -y, 'tab:green')
177177
ax4.plot(x + 2, -y**2, 'tab:red')
178178

179-
for ax in axs.flat:
179+
for ax in fig.get_axes():
180180
ax.label_outer()
181181

182182
###############################################################################

0 commit comments

Comments
 (0)