aboutsummaryrefslogtreecommitdiff
path: root/src/plots.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-11 15:40:19 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-11 15:40:19 +0100
commit0168c475446f32e4ff3ebd92668d17d7cbd346c9 (patch)
treebd55fbfcbd4c11a2fcced15eca5e8a902853fbb7 /src/plots.py
parent7ff3e52a6516c3dcad91fbc6da57c78d3bbc1f31 (diff)
downloadallocbench-0168c475446f32e4ff3ebd92668d17d7cbd346c9.tar.gz
allocbench-0168c475446f32e4ff3ebd92668d17d7cbd346c9.zip
improve default labels
Diffstat (limited to 'src/plots.py')
-rw-r--r--src/plots.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plots.py b/src/plots.py
index 0c6d4f9..8a73fa0 100644
--- a/src/plots.py
+++ b/src/plots.py
@@ -103,8 +103,8 @@ def plot_single_arg(bench, yval, ylabel="y-label", xlabel="x-label",
plt.savefig(figname)
plt.clf()
-def barplot_single_arg(bench, yval, ylabel="'y-label'", xlabel="'x-label'",
- title="'default title'", filepostfix="", sumdir="",
+def barplot_single_arg(bench, yval, ylabel="y-label", xlabel="x-label",
+ title="default title", filepostfix="", sumdir="",
arg="", scale=None, file_ext=src.globalvars.summary_file_ext, yerr=True):
"""plot bar plots for each permutation of the benchmark's command arguments"""
@@ -160,8 +160,8 @@ def barplot_single_arg(bench, yval, ylabel="'y-label'", xlabel="'x-label'",
plt.savefig(figname)
plt.clf()
-def plot_fixed_arg(bench, yval, ylabel="'y-label'", xlabel="loose_arg",
- autoticks=True, title="'default title'", filepostfix="",
+def plot_fixed_arg(bench, yval, ylabel="y-label", xlabel="{loose_arg}",
+ autoticks=True, title="default title", filepostfix="",
sumdir="", fixed=None, file_ext=src.globalvars.summary_file_ext, scale=None):
args = bench.results["args"]