diff --git a/mplotutils/tests/test_get_renderer.py b/mplotutils/tests/test_get_renderer.py index a80d03f..3cc2039 100644 --- a/mplotutils/tests/test_get_renderer.py +++ b/mplotutils/tests/test_get_renderer.py @@ -41,6 +41,7 @@ def test_set_size(): with subplots_context() as (f, ax): + f.set_dpi(1000) f.set_size_inches(17 / 2.54, 6 / 2.54) print(f.get_size_inches().__repr__()) @@ -60,8 +61,6 @@ def test_set_size(): np.testing.assert_allclose(f.get_size_inches() * 2.54, (17, 6)) - f.set_dpi(1000) - f.set_size_inches(17 / 2.54, 6 / 2.54) np.testing.assert_allclose(f.get_size_inches() * 2.54, (17, 6))