I want to save 3 mel-spectograms to one png file. I used the subplots function for this.
fig, ax = plt.subplots(nrows=3, ncols=1)
img1 = librosa.display.specshow(S_dB1, sr=sr, fmax=10000, ax=ax[0])
img2 = librosa.display.specshow(S_dB2, sr=sr, fmax=10000, ax=ax[1])
img3 = librosa.display.specshow(S_dB3, sr=sr, fmax=10000, ax=ax[2])
fig.savefig('img.png')
This is what the generated mel-spectrograms look like.
Any option to change the height of these mel-spectograms to make them easier to read?