Skip to content

Commit

Permalink
more info on size
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause committed May 29, 2024
1 parent 0a6ae74 commit 919049f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mplotutils/tests/test_get_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ def test_set_size():
with subplots_context() as (f, ax):

f.set_size_inches(17 / 2.54, 6 / 2.54)
print(f.get_size_inches().__repr__())
print(type(f.get_size_inches()))
np.testing.assert_allclose(f.get_size_inches() * 2.54, (17, 6))

raise ValueError()

0 comments on commit 919049f

Please sign in to comment.