From ef0a58eceb3d794931b0df57f53ecd97dbd57e52 Mon Sep 17 00:00:00 2001 From: shivesh Date: Mon, 15 Apr 2019 18:48:50 +0100 Subject: improve plotx --- plot_sens.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'plot_sens.py') diff --git a/plot_sens.py b/plot_sens.py index f190905..6fad8bb 100755 --- a/plot_sens.py +++ b/plot_sens.py @@ -227,16 +227,13 @@ def main(): *map(parse_enum, [args.stat_method, args.data]) ) + r'{0}/'.format(prefix) - argsc = deepcopy(args) if args.plot_x: - for idim, dim in enumerate(args.dimensions): - argsc.dimension = dim - plot_utils.plot_x( - data = data, - outfile = baseoutfile + '/hese_x', - outformat = ['png', 'pdf'], - args = argsc, - ) + plot_utils.plot_x( + data = data, + outfile = baseoutfile + '/hese_x', + outformat = ['png', 'pdf'], + args = args, + ) if args.plot_table: plot_utils.plot_table_sens( -- cgit v1.2.3