Tweak scripts

This commit is contained in:
Jean-Sébastien 2021-12-16 20:48:03 +01:00
parent b7233d004a
commit 1e4c4c420d
4 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#! /usr/bin/env python #! /usr/bin/env python
import argparse import argparse
import plotly.graph_objects as go import plotly.graph_objects as go
import numpy import numpy

View File

@ -1,3 +1,5 @@
#! /usr/bin/env python
import argparse import argparse
import plotly.graph_objects as go import plotly.graph_objects as go
import numpy import numpy
@ -16,5 +18,3 @@ for datafilename in args.filenames:
y = [line[3] for line in data] y = [line[3] for line in data]
fig.add_trace(go.Bar(x=x, y=y)) fig.add_trace(go.Bar(x=x, y=y))
fig.show() fig.show()

View File

@ -1,3 +1,5 @@
#! /usr/bin/env python
import argparse import argparse
import plotly.graph_objects as go import plotly.graph_objects as go
import numpy import numpy
@ -35,4 +37,3 @@ fig.update_layout(
sliders=sliders sliders=sliders
) )
fig.show() fig.show()

2
scripts/plot_benchmarks.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#! /usr/bin/env python
""" """
Plot benchmark files produced from Benchmark_RAW_File. Plot benchmark files produced from Benchmark_RAW_File.