code: def main():
      """
      Example usage in jupyter-notebook
  
      .. code-block:: python
  
          from stable_baselines import results_plotter
          %matplotlib inline
          results_plotter.plot_results(["./log"], 10e6, results_plotter.X_TIMESTEPS, "Breakout")
  
      Here ./log is a directory containing the monitor.csv files
      """
      import argparse
      import os
  
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter
      )
      parser.add_argument(
          "--dirs",
          help="List of log directories",
          nargs="*",
          default=["./log"],
      )
      parser.add_argument(
          "--num_timesteps", type=int, default=int(10e6)
      )
      parser.add_argument(
          "--xaxis", help="Varible on X-axis", default=X_TIMESTEPS
      )
      parser.add_argument(
          "--task_name", help="Title of plot", default="Breakout"
      )
      args = parser.parse_args()
      args.dirs = [os.path.abspath(folder) for folder in args.dirs]
      plot_results(
          args.dirs, args.num_timesteps, args.xaxis, args.task_name
      )
      plt.show()
  
file_path: stable-baselines/stable_baselines/results_plotter.py
imports: import numpy
  import matplotlib
  import matplotlib.pyplot
  from stable_baselines.bench.monitor import load_results
label_desc: Use image node_id 6 for calling a global function with example usage: main() without return types