Browse Source

Tweak scripts

master
Jean-Sébastien 2 years ago
parent
commit
1e4c4c420d
4 changed files with 7 additions and 3 deletions
  1. 1
    0
      scripts/DSF_iK.py
  2. 2
    2
      scripts/Histograms.py
  3. 2
    1
      scripts/Histograms_Animated.py
  4. 2
    0
      scripts/plot_benchmarks.py

+ 1
- 0
scripts/DSF_iK.py View File

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

+ 2
- 2
scripts/Histograms.py View File

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

+ 2
- 1
scripts/Histograms_Animated.py View File

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

+ 2
- 0
scripts/plot_benchmarks.py View File

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

Loading…
Cancel
Save