()
| 63 | |
| 64 | @mpl3d_image_comparison(['axis_positions.png'], remove_text=False, style='mpl20') |
| 65 | def test_axis_positions(): |
| 66 | positions = ['upper', 'lower', 'both', 'none'] |
| 67 | fig, axs = plt.subplots(2, 2, subplot_kw={'projection': '3d'}) |
| 68 | for ax, pos in zip(axs.flatten(), positions): |
| 69 | for axis in ax.xaxis, ax.yaxis, ax.zaxis: |
| 70 | axis.set_label_position(pos) |
| 71 | axis.set_ticks_position(pos) |
| 72 | title = f'{pos}' |
| 73 | ax.set(xlabel='x', ylabel='y', zlabel='z', title=title) |
| 74 | |
| 75 | |
| 76 | @mpl3d_image_comparison(['aspects.png'], remove_text=False, style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…