title: Plot audio waveform and spectrogram overlap
body: <p>I am working with audio using librosa, and I need to plot the spectrogram and waveform in the same display.</p>
  
  <p>My code:</p>
  
  <pre><code>plt.figure(figsize=(14, 9))
  
  plt.figure(1)
  
  plt.subplot(211)
  plt.title('Spectrogram')
  librosa.display.specshow(stft_db, x_axis='time', y_axis='log')
  
  plt.subplot(212)
  plt.title('Audioform')
  librosa.display.waveplot(y, sr=sr)
  </code></pre>
  
  <p>Using this code I get this plot</p>
  
  <p><img src="https://i.stack.imgur.com/MD4JU.png" alt=""></p>
  
  <p>But I need something like this</p>
  
  <p><img src="https://i.stack.imgur.com/RAM2O.png" alt=""></p>