MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_spy_invalid_kwargs

Function test_spy_invalid_kwargs

lib/matplotlib/tests/test_axes.py:223–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221
222
223def 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()

Callers

nothing calls this directly

Calls 2

spyMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…