def main(argv=None):
  """Takes the path to a directory with reports and renders success fail plots."""
  report_paths = argv[1:]

  fail_names = FLAGS.fail_names.split(',')

  for report_path in report_paths:
    plot_report_from_path(report_path, label=report_path, fail_names=fail_names)
  pyplot.legend()

  pyplot.xlim(-.01, 1.)
  pyplot.ylim(0., 1.)

  pyplot.show()
def main ( argv = None ) : report_paths = argv [ 1 : ] fail_names = FLAGS . fail_names . split ( ',' ) for report_path in report_paths : plot_report_from_path ( report_path , label = report_path , fail_names = fail_names ) pyplot . legend ( ) pyplot . xlim ( - .01 , 1. ) pyplot . ylim ( 0. , 1. ) pyplot . show ( )
Takes the path to a directory with reports and renders success fail plots.