From 0168c475446f32e4ff3ebd92668d17d7cbd346c9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 11 Feb 2020 15:40:19 +0100 Subject: improve default labels --- src/plots.py | 8 ++++---- 1 file 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"] -- cgit v1.2.3