Skip to content

Commit

Permalink
Update lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py
Browse files Browse the repository at this point in the history
changed subfigure generation to default

Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
  • Loading branch information
matt256 and QuLogic committed Dec 23, 2022
1 parent 0e801e0 commit 4d5a628
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py
Expand Up @@ -721,9 +721,7 @@ def test_removal():
@image_comparison(['anchored_locator_base_call.png'], style="mpl20")
def test_anchored_locator_base_call():
fig = plt.figure(figsize=(3, 3))
fig1, fig2 = fig.subfigures(
nrows=2, ncols=1, height_ratios=[1, 1], squeeze=True
)
fig1, fig2 = fig.subfigures(nrows=2, ncols=1)

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

0 comments on commit 4d5a628

Please sign in to comment.