code: def plot_spectrogram(
      specgram, title=None, ylabel="freq_bin", ax=None
  ):
      if ax is None:
          _, ax = plt.subplots(1, 1)
      if title is not None:
          ax.set_title(title)
      ax.set_ylabel(ylabel)
      ax.imshow(
          librosa.power_to_db(specgram),
          origin="lower",
          aspect="auto",
          interpolation="nearest",
      )
  
file_path: audio/examples/tutorials/audio_feature_extractions_tutorial.py
imports: import torch
  import torchaudio
  import torchaudio.functional
  import torchaudio.transforms
  import librosa
  import matplotlib.pyplot
  from IPython.display import Audio
  from matplotlib.patches import Rectangle
  from torchaudio.utils import download_asset
label_desc: Use image node_id 2 for calling a global function with example usage: plot_spectrogram(specgram, title, ylabel, ax) without return types