()
| 74 | |
| 75 | @image_comparison(['spines_data_positions.png'], style='mpl20') |
| 76 | def test_spines_data_positions(): |
| 77 | fig, ax = plt.subplots() |
| 78 | ax.spines.left.set_position(('data', -1.5)) |
| 79 | ax.spines.top.set_position(('data', 0.5)) |
| 80 | ax.spines.right.set_position(('data', -0.5)) |
| 81 | ax.spines.bottom.set_position('zero') |
| 82 | ax.set_xlim([-2, 2]) |
| 83 | ax.set_ylim([-2, 2]) |
| 84 | ax.xaxis.set_ticks_position('both') |
| 85 | ax.yaxis.set_ticks_position('both') |
| 86 | |
| 87 | |
| 88 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…