shithub: aubio

Download patch

ref: 337aaae042e861ac1ba36eeb72d432f6b43135bb
parent: bbc62b58100bcb0cb0055abea9dcd46803b6d8f4
author: Paul Brossier <piem@piem.org>
date: Tue May 10 15:56:59 EDT 2016

python/demos/demo_spectrogram.py: fix title

--- a/python/demos/demo_spectrogram.py
+++ b/python/demos/demo_spectrogram.py
@@ -57,7 +57,7 @@
     ax.set_yticklabels ( y_labels )
     ax.set_ylabel('Frequency (kHz)')
     ax.set_xlabel('Time (s)')
-    ax.set_title(os.path.basename(soundfile))
+    ax.set_title(os.path.basename(filename))
     for item in ([ax.title, ax.xaxis.label, ax.yaxis.label] +
             ax.get_xticklabels() + ax.get_yticklabels()):
         item.set_fontsize('x-small')