Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa2c51b

Browse filesBrowse files
authored
typo fixed in code snippet for undeclared variable
variable `axs` was not defined in the code snippet of `Sharing x per column, y per row` figure, rather it was defined in some earlier snippets. The intended use here is applying `label_outer()` on the axes of the figure in the current snippet.
1 parent 1f9dc78 commit aa2c51b
Copy full SHA for aa2c51b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/subplots_axes_and_figures/subplots_demo.py

Copy file name to clipboardExpand all lines: examples/subplots_axes_and_figures/subplots_demo.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.