Skip to content

Commit cc1f9f8

Browse files
committed
review comments for test_axes
1 parent 5a0f937 commit cc1f9f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5946,7 +5946,9 @@ def test_tick_padding_tightbbox():
59465946

59475947

59485948
def test_inset():
5949-
"""Regression test: failure described in for issue #14275"""
5949+
"""
5950+
Ensure that inset_ax argument is indeed optional
5951+
"""
59505952
dx, dy = 0.05, 0.05
59515953
# generate 2 2d grids for the x & y bounds
59525954
y, x = np.mgrid[slice(1, 5 + dy, dy),
@@ -5969,7 +5971,7 @@ def test_inset():
59695971
fig.canvas.draw()
59705972
xx = np.array([[1.5, 2.],
59715973
[2.15, 2.5]])
5972-
assert (np.all(rec.get_bbox().get_points() == xx))
5974+
assert np.all(rec.get_bbox().get_points() == xx)
59735975

59745976

59755977
def test_zoom_inset():

0 commit comments

Comments
 (0)