()
| 185 | @mpl3d_image_comparison(['bar3d_notshaded.png'], style='mpl20', |
| 186 | tol=0.01 if parse_version(np.version.version).major < 2 else 0) |
| 187 | def test_bar3d_notshaded(): |
| 188 | fig = plt.figure() |
| 189 | ax = fig.add_subplot(projection='3d') |
| 190 | x = np.arange(4) |
| 191 | y = np.arange(5) |
| 192 | x2d, y2d = np.meshgrid(x, y) |
| 193 | x2d, y2d = x2d.ravel(), y2d.ravel() |
| 194 | z = x2d + y2d |
| 195 | ax.bar3d(x2d, y2d, x2d * 0, 1, 1, z, shade=False) |
| 196 | fig.canvas.draw() |
| 197 | |
| 198 | |
| 199 | def test_bar3d_lightsource(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…