code: def plot_spectrogram(stft, title="Spectrogram"):
      magnitude = stft.abs()
      spectrogram = 20 * torch.log10(magnitude + 1e-8).numpy()
      _, axis = plt.subplots(1, 1)
      axis.imshow(
          spectrogram,
          cmap="viridis",
          vmin=-60,
          vmax=0,
          origin="lower",
          aspect="auto",
      )
      axis.set_title(title)
      plt.tight_layout()
  
file_path: audio/examples/tutorials/hybrid_demucs_tutorial.py
imports: import torch
  import torchaudio
  import matplotlib.pyplot
  from IPython.display import Audio
  from mir_eval import separation
  from torchaudio.pipelines import HDEMUCS_HIGH_MUSDB_PLUS
  from torchaudio.utils import download_asset
  from torchaudio.transforms import Fade
label_desc: Use image node_id 2 for calling a global function with example usage: plot_spectrogram(stft, title) without return types