8000 Merge pull request #24171 from rifatrakib/patch-2 · matplotlib/matplotlib@c0bdf59 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0bdf59

Browse files
authored
Merge pull request #24171 from rifatrakib/patch-2
typo fixed in code snippet for undeclared variable
2 parents c744161 + aa2c51b commit c0bdf59

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)
0