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 31ae50f

Browse filesBrowse files
committed
Use aspect=1, not aspect=True.
aspect=True seems like an obfuscated way to spell aspect=1 ("equal aspect"). (Note that this should not be confused with uses of `aspect=True` in AxesGrid, which is different and actually takes a bool as argument...)
1 parent 4b50ce6 commit 31ae50f
Copy full SHA for 31ae50f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-2
lines changed

‎lib/matplotlib/tests/test_arrow_patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_arrow_patches.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def test_fancyarrow():
1818
t = ["fancy", "simple", mpatches.ArrowStyle.Fancy()]
1919

2020
fig, axs = plt.subplots(len(t), len(r), squeeze=False,
21-
subplot_kw=dict(aspect=True),
22-
figsize=(8, 4.5))
21+
figsize=(8, 4.5), subplot_kw=dict(aspect=1))
2322

2423
for i_r, r1 in enumerate(r):
2524
for i_t, t1 in enumerate(t):

0 commit comments

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