()
| 815 | |
| 816 | @image_comparison(['annulus.png'], style='mpl20') |
| 817 | def test_annulus(): |
| 818 | |
| 819 | fig, ax = plt.subplots() |
| 820 | cir = Annulus((0.5, 0.5), 0.2, 0.05, fc='g') # circular annulus |
| 821 | ell = Annulus((0.5, 0.5), (0.5, 0.3), 0.1, 45, # elliptical |
| 822 | fc='m', ec='b', alpha=0.5, hatch='xxx') |
| 823 | ax.add_patch(cir) |
| 824 | ax.add_patch(ell) |
| 825 | ax.set_aspect('equal') |
| 826 | |
| 827 | |
| 828 | @image_comparison(['annulus.png'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…