Use doc-comment for advanced_statistics.py script

This commit is contained in:
sharkdp committed 2019-10-07 19:04:43 +02:00
1 parent 0cc0fb2656
commit 02962d1cab
1 file changed
+9 -9
+9 -9
View File
@@ -1,18 +1,18 @@
#!/usr/bin/python
#
# This script `hyperfine` benchmark results as a box and whisker plot.
#
# Quoting from the matplotlib documentation:
# The box extends from the lower to upper quartile values of the data, with
# a line at the median. The whiskers extend from the box to show the range
# of the data. Flier points are those past the end of the whiskers.
#
"""This program shows `hyperfine` benchmark results as a box and whisker plot.
Quoting from the matplotlib documentation:
The box extends from the lower to upper quartile values of the data, with
a line at the median. The whiskers extend from the box to show the range
of the data. Flier points are those past the end of the whiskers.
"""
import argparse
import json
import matplotlib.pyplot as plt
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("file", help="JSON file with benchmark results")
args = parser.parse_args()