fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

Titles on waveforms and spectrograms #285

Closed alexarje closed 1 year ago

alexarje commented 1 year ago

The waveform(), spectrogram(), and descriptors() functions currently show the filename as the title by default. It is now necessary to specify a blank title to remove it:

image

I would suggest setting None to default to no title (and be default) and rather have "filename" to set the filename as title or allow the user to set an optional title.

joachimpoutaraud commented 1 year ago

I have updated the waveform(), spectrogram(), and descriptors() functions with no title as default parameter. It is also possible to set 'filename' in order to get the filename as title, or specifying another title.