From 31ae50fda4889f268a619be7ccb77481aa131581 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 1 Jun 2019 21:01:35 +0200 Subject: [PATCH] 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...) --- lib/matplotlib/tests/test_arrow_patches.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/tests/test_arrow_patches.py b/lib/matplotlib/tests/test_arrow_patches.py index 73e557525c73..a9409e2c1b7a 100644 --- a/lib/matplotlib/tests/test_arrow_patches.py +++ b/lib/matplotlib/tests/test_arrow_patches.py @@ -18,8 +18,7 @@ def test_fancyarrow(): t = ["fancy", "simple", mpatches.ArrowStyle.Fancy()] fig, axs = plt.subplots(len(t), len(r), squeeze=False, - subplot_kw=dict(aspect=True), - figsize=(8, 4.5)) + figsize=(8, 4.5), subplot_kw=dict(aspect=1)) for i_r, r1 in enumerate(r): for i_t, t1 in enumerate(t):