Skip to content

Commit

Permalink
dpi=1000
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause committed May 30, 2024
1 parent 16bdab6 commit 49563ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mplotutils/tests/test_get_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__())
Expand All @@ -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))

Expand Down

0 comments on commit 49563ef

Please sign in to comment.