Skip to content

Commit 4d5a628

Browse files
matt256QuLogic
andauthored
Update lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py
changed subfigure generation to default Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 0e801e0 commit 4d5a628

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,7 @@ def test_removal():
721721
@image_comparison(['anchored_locator_base_call.png'], style="mpl20")
722722
def test_anchored_locator_base_call():
723723
fig = plt.figure(figsize=(3, 3))
724-
fig1, fig2 = fig.subfigures(
725-
nrows=2, ncols=1, height_ratios=[1, 1], squeeze=True
726-
)
724+
fig1, fig2 = fig.subfigures(nrows=2, ncols=1)
727725

728726
ax = fig1.subplots()
729727
ax.set(aspect=1, xlim=(-15, 15), ylim=(-20, 5))

0 commit comments

Comments
 (0)