()
| 403 | |
| 404 | @mpl3d_image_comparison(['scatter3d.png'], style='mpl20') |
| 405 | def test_scatter3d(): |
| 406 | fig = plt.figure() |
| 407 | ax = fig.add_subplot(projection='3d') |
| 408 | ax.scatter(np.arange(10), np.arange(10), np.arange(10), |
| 409 | c='r', marker='o') |
| 410 | x = y = z = np.arange(10, 20) |
| 411 | ax.scatter(x, y, z, c='b', marker='^') |
| 412 | z[-1] = 0 # Check that scatter() copies the data. |
| 413 | # Ensure empty scatters do not break. |
| 414 | ax.scatter([], [], [], c='r', marker='X') |
| 415 | |
| 416 | |
| 417 | @mpl3d_image_comparison(['scatter3d_color.png'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…