Added words to Plot

This commit is contained in:
Vadim committed 2024-01-03 15:55:08 +01:00
1 parent c020c6a4f1
commit 564ac26c2e
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -236,6 +236,7 @@ def draw_words(transcribed_data, midi_notes):
alpha=0.5,
)
plt.gca().add_patch(rect)
plt.text(data.start + width/4, numpy.log10([note_frequency + half_frequency_range])[0], data.word, rotation=90)
def snake(s):