()
| 140 | |
| 141 | @mpl3d_image_comparison(['bar3d.png'], style='mpl20') |
| 142 | def test_bar3d(): |
| 143 | fig = plt.figure() |
| 144 | ax = fig.add_subplot(projection='3d') |
| 145 | for c, z in zip(['r', 'g', 'b', 'y'], [30, 20, 10, 0]): |
| 146 | xs = np.arange(20) |
| 147 | ys = np.arange(20) |
| 148 | cs = [c] * len(xs) |
| 149 | cs[0] = 'c' |
| 150 | ax.bar(xs, ys, zs=z, zdir='y', align='edge', color=cs, alpha=0.8) |
| 151 | |
| 152 | |
| 153 | def test_bar3d_colors(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…