From 9dfe94f5998ae47a515424d986983f0152936f84 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 10 Apr 2019 11:54:31 +0200 Subject: fix autoticks in plot_fixed_arg --- src/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/benchmark.py') diff --git a/src/benchmark.py b/src/benchmark.py index b78e937..20c2ca0 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -359,7 +359,7 @@ class Benchmark (object): loose_arg = [a for a in args if a != arg][0] if not autoticks: - x_vals = list(range(1, len(args[arg]) + 1)) + x_vals = list(range(1, len(args[loose_arg]) + 1)) else: x_vals = args[loose_arg] -- cgit v1.2.3