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 dd7f51b

Browse filesBrowse files
author
ellie
committed
Corrected subplots_adjust diagram
1 parent ac52254 commit dd7f51b
Copy full SHA for dd7f51b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed

‎doc/_embedded_plots/figure_subplots_adjust.py

Copy file name to clipboardExpand all lines: doc/_embedded_plots/figure_subplots_adjust.py
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import matplotlib.pyplot as plt
22

3+
34
def arrow(p1, p2, **props):
45
overlay.annotate(
56
"", p1, p2, xycoords='figure fraction',
@@ -17,14 +18,14 @@ def arrow(p1, p2, **props):
1718

1819
arrow((0, 0.75), (0.1, 0.75)) # left
1920
arrow((0.435, 0.25), (0.565, 0.25)) # wspace
20-
arrow((0.1, 0.8), (1, 0.8)) # right
21+
arrow((0, 0.8), (0.9, 0.8)) # right
2122
fig.text(0.05, 0.7, "left", ha="center")
2223
fig.text(0.5, 0.3, "wspace", ha="center")
23-
fig.text(0.95, 0.83, "right", ha="center")
24+
fig.text(0.05, 0.83, "right", ha="center")
2425

2526
arrow((0.75, 0), (0.75, 0.1)) # bottom
2627
arrow((0.25, 0.435), (0.25, 0.565)) # hspace
27-
arrow((0.80, 0.1), (0.8, 1)) # top
28+
arrow((0.80, 0), (0.8, 0.9)) # top
2829
fig.text(0.65, 0.05, "bottom", va="center")
2930
fig.text(0.28, 0.5, "hspace", va="center")
30-
fig.text(0.75, 0.95, "top", va="center")
31+
fig.text(0.82, 0.05, "top", va="center")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.