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

Function test_full_arc

lib/matplotlib/tests/test_path.py:503–511  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

501
502@pytest.mark.parametrize('offset', range(-720, 361, 45))
503def test_full_arc(offset):
504 low = offset
505 high = 360 + offset
506
507 path = Path.arc(low, high)
508 mins = np.min(path.vertices, axis=0)
509 maxs = np.max(path.vertices, axis=0)
510 np.testing.assert_allclose(mins, -1)
511 np.testing.assert_allclose(maxs, 1)
512
513
514@pytest.mark.parametrize('theta2', [

Callers

nothing calls this directly

Calls 3

arcMethod · 0.80
minMethod · 0.80
maxMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…