code: def plot_filters(indices, filename, F_mins, F_maxs, output_folder):
      """Plot filters bandwidths.
  
      Args:
          indices: Sorted indices of filters.
          filename: Output filename (png or svg).
          F_mins: Minimum frequencies.
          F_maxs: Maximum frequencies.
          output_folder: Output folder.
      """
      x = np.linspace(0, np.max(F_maxs), np.max(F_maxs) + 1)
      plt.clf()
      height = 1
      for i in indices:
          y = np.zeros_like(x)
          y[F_mins[i] : F_maxs[i]] = height
          height += 1
          plt.plot(x, y)
      img_path = str(output_folder / filename)
      plt.savefig(img_path, bbox_inches="tight")
      print("Plotted %s" % img_path)
  
file_path: espnet/egs2/polyphone_swiss_french/asr1/pyscripts/utils/plot_sinc_filters.py
imports: import argparse
  import sys
  from pathlib import Path
  import matplotlib.pyplot
  import numpy
  import torch
label_desc: Use image node_id 5 for calling a global function with example usage: plot_filters(indices, filename, F_mins, F_maxs, output_folder) without return types