History

python/demos/demo_spectrogram.py: fix title

Paul Brossier committed 10 years ago

Commit 337aaae1 parent bbc62b51 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/demos/demo_spectrogram.py+1−1
@@ -57,7 +57,7 @@ def get_spectrogram(filename, samplerate = 0): · 56 unmodified lines
5757 ax.set_yticklabels ( y_labels )
5858 ax.set_ylabel('Frequency (kHz)')
5959 ax.set_xlabel('Time (s)')
60− ax.set_title(os.path.basename(soundfile))
60+ ax.set_title(os.path.basename(filename))
6161 for item in ([ax.title, ax.xaxis.label, ax.yaxis.label] +
6262 ax.get_xticklabels() + ax.get_yticklabels()):
6363 item.set_fontsize('x-small')

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t