(backend)
| 367 | |
| 368 | @pytest.mark.parametrize("backend", ["auto", "pypng", "pil"]) |
| 369 | def test_imshow_backend(backend): |
| 370 | fig = px.imshow(img_rgb, binary_backend=backend) |
| 371 | decoded_img = decode_image_string(fig.data[0].source) |
| 372 | assert np.all(decoded_img == img_rgb) |
| 373 | |
| 374 | |
| 375 | @pytest.mark.parametrize("level", [0, 3, 6, 9]) |
nothing calls this directly
no test coverage detected