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

Function test_modifying_arc

lib/matplotlib/tests/test_patches.py:959–965  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

957
958@check_figures_equal(extensions=["png", 'svg', 'pdf', 'eps'])
959def test_modifying_arc(fig_test, fig_ref):
960 arc1 = Arc([.5, .5], .5, 1, theta1=0, theta2=60, angle=20)
961 arc2 = Arc([.5, .5], 1.5, 1, theta1=0, theta2=60, angle=10)
962 fig_ref.subplots().add_patch(arc1)
963 fig_test.subplots().add_patch(arc2)
964 arc2.set_width(.5)
965 arc2.set_angle(20)
966
967
968def test_arrow_set_data():

Callers

nothing calls this directly

Calls 5

ArcClass · 0.90
add_patchMethod · 0.80
subplotsMethod · 0.45
set_widthMethod · 0.45
set_angleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…