MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_bbox_is_finite

Function test_bbox_is_finite

lib/matplotlib/tests/test_transforms.py:838–845  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

836
837
838def test_bbox_is_finite():
839 assert not Bbox([(1, 1), (1, 1)])._is_finite()
840 assert not Bbox([(0, 0), (np.inf, 1)])._is_finite()
841 assert not Bbox([(-np.inf, 0), (2, 2)])._is_finite()
842 assert not Bbox([(np.nan, 0), (2, 2)])._is_finite()
843 assert Bbox([(0, 0), (0, 2)])._is_finite()
844 assert Bbox([(0, 0), (2, 0)])._is_finite()
845 assert Bbox([(0, 0), (1, 2)])._is_finite()
846
847
848def test_bbox_frozen_copies_minpos():

Callers

nothing calls this directly

Calls 2

BboxClass · 0.90
_is_finiteMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…