diff options
Diffstat (limited to 'test/plots/plot_perf.py')
| -rw-r--r-- | test/plots/plot_perf.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/plots/plot_perf.py b/test/plots/plot_perf.py index 7054543..631ef07 100644 --- a/test/plots/plot_perf.py +++ b/test/plots/plot_perf.py @@ -13,13 +13,19 @@ import numpy as np type=click.Path(file_okay=False, dir_okay=True), default=None, envvar="DIR", - required=True + required=True, ) def main(directory): directory = Path(directory) for f in directory.glob("*.csv"): pname = str(f).removesuffix(".csv") - d = np.genfromtxt(f, delimiter=",", dtype=None, encoding="ascii", names=("commit", "pyversion", "time")) + d = np.genfromtxt( + f, + delimiter=",", + dtype=None, + encoding="ascii", + names=("commit", "pyversion", "time"), + ) if len(d.shape) == 0: d.shape = (1,) line = hv.Curve(zip(d["commit"], d["time"]), "commit", "duration") |
