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

Function test_arc_full_circle_snap

lib/matplotlib/tests/test_path.py:520–524  ·  view source on GitHub ↗
(theta2)

Source from the content-addressed store, hash-verified

518 np.nextafter(720, 1e6),
519])
520def test_arc_full_circle_snap(theta2):
521 # A span within floating-point tolerance of a whole number of turns must
522 # draw a complete circle, not collapse to a near-empty arc.
523 np.testing.assert_allclose(Path.arc(0, theta2).vertices,
524 Path.arc(0, 360).vertices)
525
526
527@pytest.mark.parametrize('theta1, theta2', [(0, -360), (0, -720), (360, 0),

Callers

nothing calls this directly

Calls 1

arcMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…