Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
Fixed color name spelling and avoid "ValueError: Colormap x is not recognized".
  • Loading branch information
felixdollack committed Mar 30, 2019
1 parent 57bbcb6 commit 6b8647c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/spectogramer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import scipy.io.wavfile as wav


def wav_to_spectrogram(audio_path, save_path, spectrogram_dimensions=(64, 64), noverlap=16, cmap='grey_r'):
def wav_to_spectrogram(audio_path, save_path, spectrogram_dimensions=(64, 64), noverlap=16, cmap='gray_r'):
""" Creates a spectrogram of a wav file.
:param audio_path: path of wav file
Expand Down

0 comments on commit 6b8647c

Please sign in to comment.