code: def parse_args():
      '''Parse command line arguments'''
      parser = argparse.ArgumentParser(
          description='Morphology feature plotter',
          epilog='Note: Makes plots of various features and superimposes\
          input distributions. Plots are saved to PDF file.',
          formatter_class=argparse.ArgumentDefaultsHelpFormatter)
  
      parser.add_argument('datapath',
                          help='Morphology data directory path')
  
      parser.add_argument('--mtypeconfig',
                          required=True,
                          help='Get mtype JSON configuration file')
  
      parser.add_argument('--output',
                          default='plots.pdf',
                          help='Output PDF file name')
      return parser.parse_args(f parse_args():
      '''Parse command line arguments'''
      parser = argparse.ArgumentParser(
          description='Morphology feature plotter',
          epilog='Note: Makes plots of various features and superimposes\
          input distributions. Plots are saved to PDF file.',
          formatter_class=argparse.ArgumentDefaultsHelpFormatter)
  
      parser.add_argument('datapath',
                          help='Morphology data directory path')
  
      parser.add_argument('--mtypeconfig',
                          required=True,
                          help='Get mtype JSON configuration file')
  
      parser.add_argument('--output',
                          default='plots.pdf',
                          help='Output PDF file name')
      return parser.parse_args()
docs: Parse command line arguments