()
| 744 | |
| 745 | @image_comparison(["large_arc.svg"], style="mpl20") |
| 746 | def test_large_arc(): |
| 747 | fig, (ax1, ax2) = plt.subplots(1, 2) |
| 748 | x = 210 |
| 749 | y = -2115 |
| 750 | diameter = 4261 |
| 751 | for ax in [ax1, ax2]: |
| 752 | a = Arc((x, y), diameter, diameter, lw=2, color='k') |
| 753 | ax.add_patch(a) |
| 754 | ax.set_axis_off() |
| 755 | ax.set_aspect('equal') |
| 756 | # force the high accuracy case |
| 757 | ax1.set_xlim(7, 8) |
| 758 | ax1.set_ylim(5, 6) |
| 759 | |
| 760 | # force the low accuracy case |
| 761 | ax2.set_xlim(-25000, 18000) |
| 762 | ax2.set_ylim(-20000, 6600) |
| 763 | |
| 764 | |
| 765 | @image_comparison(["all_quadrants_arcs.svg"], style="mpl20") |
nothing calls this directly
no test coverage detected
searching dependent graphs…