Skip to content

Commit 5de9b46

Browse files
committed
Remove duplicate imshow spacing test
It checked the same thing as the first part of test_facets_zero_spacing.
1 parent 34a5635 commit 5de9b46

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎tests/test_optional/test_px/test_imshow.py‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -553,12 +553,3 @@ def test_imshow_xarray_facet_row_and_col():
553553
annotations = [a.text for a in fig.layout.annotations]
554554
assert any("row_dim=R1" in a for a in annotations)
555555
assert any("col_dim=C1" in a for a in annotations)
556-
557-
558-
def test_imshow_facet_spacing_zero():
559-
img = np.random.random((2, 3, 5, 6))
560-
fig = px.imshow(
561-
img, facet_row=0, facet_col=1, facet_row_spacing=0, facet_col_spacing=0
562-
)
563-
assert fig.layout.xaxis2.domain[0] - fig.layout.xaxis.domain[1] == pytest.approx(0)
564-
assert fig.layout.yaxis4.domain[0] - fig.layout.yaxis.domain[1] == pytest.approx(0)

0 commit comments

Comments
 (0)