code: def plot_spectrogram(stft, title="Spectrogram"):
      magnitude = stft.abs()
      spectrogram = 20 * torch.log10(magnitude + 1e-8).numpy()
      figure, axis = plt.subplots(1, 1)
      img = axis.imshow(
          spectrogram,
          cmap="viridis",
          vmin=-100,
          vmax=0,
          origin="lower",
          aspect="auto",
      )
      axis.set_title(title)
      plt.colorbar(img, ax=axis)
  
file_path: audio/examples/tutorials/mvdr_tutorial.py
imports: import torch
  import torchaudio
  import torchaudio.functional
  import matplotlib.pyplot
  import mir_eval
  from IPython.display import Audio
  from pesq import pesq
  from pystoi import stoi
  from torchaudio.utils import download_asset
label_desc: Use image node_id 1 for calling a global function with example usage: plot_spectrogram(stft, title) without return types