glenn-jocher
commited on
Commit
•
630ec06
1
Parent(s):
f639e14
Update to colors.TABLEAU_COLORS (#2069)
Browse files- utils/plots.py +1 -1
utils/plots.py
CHANGED
@@ -31,7 +31,7 @@ def color_list():
|
|
31 |
def hex2rgb(h):
|
32 |
return tuple(int(h[1 + i:1 + i + 2], 16) for i in (0, 2, 4))
|
33 |
|
34 |
-
return [hex2rgb(h) for h in
|
35 |
|
36 |
|
37 |
def hist2d(x, y, n=100):
|
|
|
31 |
def hex2rgb(h):
|
32 |
return tuple(int(h[1 + i:1 + i + 2], 16) for i in (0, 2, 4))
|
33 |
|
34 |
+
return [hex2rgb(h) for h in matplotlib.colors.TABLEAU_COLORS.values()] # or BASE_ (8), CSS4_ (148), XKCD_ (949)
|
35 |
|
36 |
|
37 |
def hist2d(x, y, n=100):
|