We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1df0b commit e89ad40Copy full SHA for e89ad40
lib/matplotlib/_color_data.py
@@ -16,7 +16,7 @@
16
17
18
# These colors are from Tableau
19
-TABLEAU_COLORS = OrderedDict((
+TABLEAU_COLORS = (
20
('blue', '#1f77b4'),
21
('orange', '#ff7f0e'),
22
('green', '#2ca02c'),
@@ -26,12 +26,12 @@
26
('pink', '#e377c2'),
27
('gray', '#7f7f7f'),
28
('olive', '#bcbd22'),
29
- ('cyan', '#17becf'))
+ ('cyan', '#17becf'),
30
)
31
32
# Normalize name to "tab:<name>" to avoid name collisions.
33
TABLEAU_COLORS = OrderedDict(
34
- ('tab:' + name, value) for name, value in TABLEAU_COLORS.items())
+ ('tab:' + name, value) for name, value in TABLEAU_COLORS)
35
36
# This mapping of color names -> hex values is taken from
37
# a survey run by Randel Monroe see:
0 commit comments