diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-24 14:55:23 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-24 14:55:23 +0100 |
| commit | e5335a6bfd80bbcf036679cfea5d8e4ffdcc1881 (patch) | |
| tree | ba9367c84548ba2029d42fdfff6687439554c7be | |
| parent | ac8d5e925fdd2935087918660b24a6d7680b7b70 (diff) | |
| download | allocbench-e5335a6bfd80bbcf036679cfea5d8e4ffdcc1881.tar.gz allocbench-e5335a6bfd80bbcf036679cfea5d8e4ffdcc1881.zip | |
only support 10 default colors
matplotlib on ubuntu 18.04 does only support 10 cycle colors
| -rw-r--r-- | src/plots.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |
