code: def get_plot_options():
      """Given a list of options, this reads them from the command line and returns
      a namespace with the values.
      """
      parser = argparse.ArgumentParser(description="Plotting.")
      parser.add_argument(
          "--file", default="", help="File path of single plot file."
      )
      parser.add_argument(
          "--filelist",
          default="",
          help="File name containing file paths.",
      )
      parser.add_argument(
          "--type",
          default="semilogy",
          help="Type of plot. Default is "
          + "semilogy, other options are plot, loglog, semilogx.",
      )
      parser.add_argument("--title", help="Title of plot.")
      options = parser.parse_args()
  
      return options
  
file_path: dragonfly/dragonfly/utils/plot_utils.py
imports: from __future__ import division
  import pickle
  import argparse
  import matplotlib.pyplot
  import matplotlib
  from scipy.io import loadmat
  import numpy
label_desc: Use image node_id 10 for calling a global function with example usage: get_plot_options() and returns: options