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

Function test_specgram_origin_kwarg

lib/matplotlib/tests/test_axes.py:6085–6091  ·  view source on GitHub ↗

Ensure passing origin as a kwarg raises a TypeError.

()

Source from the content-addressed store, hash-verified

6083
6084
6085def test_specgram_origin_kwarg():
6086 """Ensure passing origin as a kwarg raises a TypeError."""
6087 t = np.arange(500)
6088 signal = np.sin(t)
6089
6090 with pytest.raises(TypeError):
6091 plt.specgram(signal, origin='lower')
6092
6093
6094@image_comparison(

Callers

nothing calls this directly

Calls 1

specgramMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…