Skip to content

Commit d796e42

Browse files
introduced assertion in test_pruneOutsideBox
1 parent 7ebe49a commit d796e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_cleanfigure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_pruneOutsideBox():
3131
ax.set_ylim([20, 80])
3232
ax.set_xlim([20, 80])
3333
cleanfigure.pruneOutsideBox(fig, ax, l)
34-
plt.show()
34+
assert l.get_xdata().shape == (14,)
3535

3636

3737
def test_replaceDataWithNaN():

0 commit comments

Comments
 (0)