Skip to content
This repository was archived by the owner on Aug 11, 2026. It is now read-only.

Commit 599fcb0

Browse files
jon-myersclaude
andcommitted
fix: remove tests for nonexistent annotate/ax params in plot_pitch_prevalence
These tests referenced parameters from an earlier draft that were dropped when the function was rewritten to match the web app's table-style grid. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f8714e5 commit 599fcb0

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

idtap/tests/visualization_test.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,25 +151,12 @@ def test_returns_figure_duration(self):
151151
assert fig is not None
152152
plt.close(fig)
153153

154-
def test_with_annotation(self):
155-
piece = _mock_piece()
156-
fig = plot_pitch_prevalence(piece, annotate=True)
157-
assert fig is not None
158-
plt.close(fig)
159-
160154
def test_chroma_output(self):
161155
piece = _mock_piece()
162156
fig = plot_pitch_prevalence(piece, output_type='chroma')
163157
assert fig is not None
164158
plt.close(fig)
165159

166-
def test_with_existing_axes(self):
167-
fig, ax = plt.subplots()
168-
piece = _mock_piece()
169-
returned_fig = plot_pitch_prevalence(piece, ax=ax)
170-
assert returned_fig is fig
171-
plt.close(fig)
172-
173160
def test_unknown_segmentation_raises(self):
174161
piece = _mock_piece()
175162
with pytest.raises(ValueError, match='Unknown segmentation'):

0 commit comments

Comments
 (0)