(fig_test, fig_ref)
| 945 | |
| 946 | @check_figures_equal(extensions=["png", 'svg', 'pdf', 'eps']) |
| 947 | def test_arc_in_collection(fig_test, fig_ref): |
| 948 | arc1 = Arc([.5, .5], .5, 1, theta1=0, theta2=60, angle=20) |
| 949 | arc2 = Arc([.5, .5], .5, 1, theta1=0, theta2=60, angle=20) |
| 950 | col = mcollections.PatchCollection(patches=[arc2], facecolors='none', |
| 951 | edgecolors='k') |
| 952 | ax_ref = fig_ref.subplots() |
| 953 | ax_ref.add_patch(arc1) |
| 954 | ax_ref.autoscale_view() |
| 955 | fig_test.subplots().add_collection(col) |
| 956 | |
| 957 | |
| 958 | @check_figures_equal(extensions=["png", 'svg', 'pdf', 'eps']) |
nothing calls this directly
no test coverage detected
searching dependent graphs…