(vmin, vmax)
| 498 | |
| 499 | @pytest.mark.parametrize("vmin,vmax", [[-1, 2], [3, 1]]) |
| 500 | def test_lognorm_invalid(vmin, vmax): |
| 501 | # Check that invalid limits in LogNorm error |
| 502 | norm = mcolors.LogNorm(vmin=vmin, vmax=vmax) |
| 503 | with pytest.raises(ValueError): |
| 504 | norm(1) |
| 505 | with pytest.raises(ValueError): |
| 506 | norm.inverse(1) |
| 507 | |
| 508 | |
| 509 | def test_LogNorm(): |