()
| 8379 | |
| 8380 | @image_comparison(['inset_polar.png'], remove_text=True, style='mpl20') |
| 8381 | def test_inset_polar(): |
| 8382 | _, ax = plt.subplots() |
| 8383 | axins = ax.inset_axes([0.5, 0.1, 0.45, 0.45], polar=True) |
| 8384 | assert isinstance(axins, PolarAxes) |
| 8385 | |
| 8386 | r = np.arange(0, 2, 0.01) |
| 8387 | theta = 2 * np.pi * r |
| 8388 | |
| 8389 | ax.plot(theta, r) |
| 8390 | axins.plot(theta, r) |
| 8391 | |
| 8392 | |
| 8393 | def test_inset_projection(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…