From e5335a6bfd80bbcf036679cfea5d8e4ffdcc1881 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 24 Feb 2020 14:55:23 +0100 Subject: only support 10 default colors matplotlib on ubuntu 18.04 does only support 10 cycle colors --- src/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plots.py') diff --git a/src/plots.py b/src/plots.py index c7750d8..bcd1e6a 100644 --- a/src/plots.py +++ b/src/plots.py @@ -38,7 +38,7 @@ def _get_alloc_color(bench, alloc): if alloc["color"] is None: allocs = bench.results["allocators"] explicit_colors = [v["color"] for v in allocs.values() if v["color"] is not None] - matplotlib_c_colors = ["C" + str(i) for i in range(0,16)] + matplotlib_c_colors = ["C" + str(i) for i in range(0,10)] avail_colors = [c for c in matplotlib_c_colors if c not in explicit_colors] for alloc in allocs.values(): -- cgit v1.2.3