()
| 221 | |
| 222 | |
| 223 | def test_spy_invalid_kwargs(): |
| 224 | fig, ax = plt.subplots() |
| 225 | for unsupported_kw in [{'interpolation': 'nearest'}, |
| 226 | {'marker': 'o', 'linestyle': 'solid'}]: |
| 227 | with pytest.raises(TypeError): |
| 228 | ax.spy(np.eye(3, 3), **unsupported_kw) |
| 229 | |
| 230 | |
| 231 | @check_figures_equal() |