()
| 328 | |
| 329 | @mpl3d_image_comparison(['lines3d.png'], style='mpl20') |
| 330 | def test_lines3d(): |
| 331 | fig = plt.figure() |
| 332 | ax = fig.add_subplot(projection='3d') |
| 333 | theta = np.linspace(-4 * np.pi, 4 * np.pi, 100) |
| 334 | z = np.linspace(-2, 2, 100) |
| 335 | r = z ** 2 + 1 |
| 336 | x = r * np.sin(theta) |
| 337 | y = r * np.cos(theta) |
| 338 | ax.plot(x, y, z) |
| 339 | |
| 340 | |
| 341 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…