From 630ec06af6c01c17f2c2603a7a62b672bfcd8878 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 28 Jan 2021 12:37:21 -0800 Subject: [PATCH] Update to colors.TABLEAU_COLORS (#2069) --- utils/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/plots.py b/utils/plots.py index 67f11bfd2011..a199963d7d99 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -31,7 +31,7 @@ def color_list(): def hex2rgb(h): return tuple(int(h[1 + i:1 + i + 2], 16) for i in (0, 2, 4)) - return [hex2rgb(h) for h in plt.rcParams['axes.prop_cycle'].by_key()['color']] + return [hex2rgb(h) for h in matplotlib.colors.TABLEAU_COLORS.values()] # or BASE_ (8), CSS4_ (148), XKCD_ (949) def hist2d(x, y, n=100):