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

Function test_stairs_invalid_nan

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

Source from the content-addressed store, hash-verified

2767
2768
2769def test_stairs_invalid_nan():
2770 with pytest.raises(ValueError, match='Nan values in "edges"'):
2771 plt.stairs([1, 2], [0, np.nan, 1])
2772
2773
2774def test_stairs_invalid_mismatch():

Callers

nothing calls this directly

Calls 1

stairsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…