Ensure passing origin as a kwarg raises a TypeError.
()
| 6083 | |
| 6084 | |
| 6085 | def 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( |
nothing calls this directly
no test coverage detected
searching dependent graphs…