blib/lib/Matplotlib/Simple/Colors.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Matplotlib/Simple/Ggplot2.pm ↑ Summary
1 package Matplotlib::Simple::Colors;
2 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 7 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 our $VERSION = 0.3345;
5 # Generated by make.colors.pl in the repository root from matplotlib 3.11.2;
6 # do not edit. Re-run with "perl make.colors.pl".
7 #
8 # %named: every name matplotlib.colors gives a color in BASE_COLORS,
9 # TABLEAU_COLORS ("tab:blue") and CSS4_COLORS, and the property-cycle names
10 # "C0" to "C9" as matplotlib's default cycle has them, as #rrggbb. The xkcd
11 # names are left out.
12 #
13 # %colormap: each colormap sampled at 17 equally spaced points from 0
14 # to 1, as #rrggbb, low end first. A "_r" name is the reverse, and is worked
15 # out by the engines rather than stored.
16 7 our %named = (
17 'C0' => '#1f77b4',
18 'C1' => '#ff7f0e',
19 'C2' => '#2ca02c',
20 'C3' => '#d62728',
21 'C4' => '#9467bd',
22 'C5' => '#8c564b',
23 'C6' => '#e377c2',
24 'C7' => '#7f7f7f',
25 'C8' => '#bcbd22',
26 'C9' => '#17becf',
27 'aliceblue' => '#f0f8ff',
28 'antiquewhite' => '#faebd7',
29 'aqua' => '#00ffff',
30 'aquamarine' => '#7fffd4',
31 'azure' => '#f0ffff',
32 'b' => '#0000ff',
33 'beige' => '#f5f5dc',
34 'bisque' => '#ffe4c4',
35 'black' => '#000000',
36 'blanchedalmond' => '#ffebcd',
37 'blue' => '#0000ff',
38 'blueviolet' => '#8a2be2',
39 'brown' => '#a52a2a',
40 'burlywood' => '#deb887',
41 'c' => '#00bfbf',
42 'cadetblue' => '#5f9ea0',
43 'chartreuse' => '#7fff00',
44 'chocolate' => '#d2691e',
45 'coral' => '#ff7f50',
46 'cornflowerblue' => '#6495ed',
47 'cornsilk' => '#fff8dc',
48 'crimson' => '#dc143c',
49 'cyan' => '#00ffff',
50 'darkblue' => '#00008b',
51 'darkcyan' => '#008b8b',
52 'darkgoldenrod' => '#b8860b',
53 'darkgray' => '#a9a9a9',
54 'darkgreen' => '#006400',
55 'darkgrey' => '#a9a9a9',
56 'darkkhaki' => '#bdb76b',
57 'darkmagenta' => '#8b008b',
58 'darkolivegreen' => '#556b2f',
59 'darkorange' => '#ff8c00',
60 'darkorchid' => '#9932cc',
61 'darkred' => '#8b0000',
62 'darksalmon' => '#e9967a',
63 'darkseagreen' => '#8fbc8f',
64 'darkslateblue' => '#483d8b',
65 'darkslategray' => '#2f4f4f',
66 'darkslategrey' => '#2f4f4f',
67 'darkturquoise' => '#00ced1',
68 'darkviolet' => '#9400d3',
69 'deeppink' => '#ff1493',
70 'deepskyblue' => '#00bfff',
71 'dimgray' => '#696969',
72 'dimgrey' => '#696969',
73 'dodgerblue' => '#1e90ff',
74 'firebrick' => '#b22222',
75 'floralwhite' => '#fffaf0',
76 'forestgreen' => '#228b22',
77 'fuchsia' => '#ff00ff',
78 'g' => '#008000',
79 'gainsboro' => '#dcdcdc',
80 'ghostwhite' => '#f8f8ff',
81 'gold' => '#ffd700',
82 'goldenrod' => '#daa520',
83 'gray' => '#808080',
84 'green' => '#008000',
85 'greenyellow' => '#adff2f',
86 'grey' => '#808080',
87 'honeydew' => '#f0fff0',
88 'hotpink' => '#ff69b4',
89 'indianred' => '#cd5c5c',
90 'indigo' => '#4b0082',
91 'ivory' => '#fffff0',
92 'k' => '#000000',
93 'khaki' => '#f0e68c',
94 'lavender' => '#e6e6fa',
95 'lavenderblush' => '#fff0f5',
96 'lawngreen' => '#7cfc00',
97 'lemonchiffon' => '#fffacd',
98 'lightblue' => '#add8e6',
99 'lightcoral' => '#f08080',
100 'lightcyan' => '#e0ffff',
101 'lightgoldenrodyellow' => '#fafad2',
102 'lightgray' => '#d3d3d3',
103 'lightgreen' => '#90ee90',
104 'lightgrey' => '#d3d3d3',
105 'lightpink' => '#ffb6c1',
106 'lightsalmon' => '#ffa07a',
107 'lightseagreen' => '#20b2aa',
108 'lightskyblue' => '#87cefa',
109 'lightslategray' => '#778899',
110 'lightslategrey' => '#778899',
111 'lightsteelblue' => '#b0c4de',
112 'lightyellow' => '#ffffe0',
113 'lime' => '#00ff00',
114 'limegreen' => '#32cd32',
115 'linen' => '#faf0e6',
116 'm' => '#bf00bf',
117 'magenta' => '#ff00ff',
118 'maroon' => '#800000',
119 'mediumaquamarine' => '#66cdaa',
120 'mediumblue' => '#0000cd',
121 'mediumorchid' => '#ba55d3',
122 'mediumpurple' => '#9370db',
123 'mediumseagreen' => '#3cb371',
124 'mediumslateblue' => '#7b68ee',
125 'mediumspringgreen' => '#00fa9a',
126 'mediumturquoise' => '#48d1cc',
127 'mediumvioletred' => '#c71585',
128 'midnightblue' => '#191970',
129 'mintcream' => '#f5fffa',
130 'mistyrose' => '#ffe4e1',
131 'moccasin' => '#ffe4b5',
132 'navajowhite' => '#ffdead',
133 'navy' => '#000080',
134 'oldlace' => '#fdf5e6',
135 'olive' => '#808000',
136 'olivedrab' => '#6b8e23',
137 'orange' => '#ffa500',
138 'orangered' => '#ff4500',
139 'orchid' => '#da70d6',
140 'palegoldenrod' => '#eee8aa',
141 'palegreen' => '#98fb98',
142 'paleturquoise' => '#afeeee',
143 'palevioletred' => '#db7093',
144 'papayawhip' => '#ffefd5',
145 'peachpuff' => '#ffdab9',
146 'peru' => '#cd853f',
147 'pink' => '#ffc0cb',
148 'plum' => '#dda0dd',
149 'powderblue' => '#b0e0e6',
150 'purple' => '#800080',
151 'r' => '#ff0000',
152 'rebeccapurple' => '#663399',
153 'red' => '#ff0000',
154 'rosybrown' => '#bc8f8f',
155 'royalblue' => '#4169e1',
156 'saddlebrown' => '#8b4513',
157 'salmon' => '#fa8072',
158 'sandybrown' => '#f4a460',
159 'seagreen' => '#2e8b57',
160 'seashell' => '#fff5ee',
161 'sienna' => '#a0522d',
162 'silver' => '#c0c0c0',
163 'skyblue' => '#87ceeb',
164 'slateblue' => '#6a5acd',
165 'slategray' => '#708090',
166 'slategrey' => '#708090',
167 'snow' => '#fffafa',
168 'springgreen' => '#00ff7f',
169 'steelblue' => '#4682b4',
170 'tab:blue' => '#1f77b4',
171 'tab:brown' => '#8c564b',
172 'tab:cyan' => '#17becf',
173 'tab:gray' => '#7f7f7f',
174 'tab:green' => '#2ca02c',
175 'tab:olive' => '#bcbd22',
176 'tab:orange' => '#ff7f0e',
177 'tab:pink' => '#e377c2',
178 'tab:purple' => '#9467bd',
179 'tab:red' => '#d62728',
180 'tan' => '#d2b48c',
181 'teal' => '#008080',
182 'thistle' => '#d8bfd8',
183 'tomato' => '#ff6347',
184 'turquoise' => '#40e0d0',
185 'violet' => '#ee82ee',
186 'w' => '#ffffff',
187 'wheat' => '#f5deb3',
188 'white' => '#ffffff',
189 'whitesmoke' => '#f5f5f5',
190 'y' => '#bfbf00',
191 'yellow' => '#ffff00',
192 'yellowgreen' => '#9acd32',
193 );
194 7 our %colormap = (
195 viridis => ['#440154', '#48186a', '#472d7b', '#424086', '#3b528b', '#33638d', '#2c728e', '#26828e', '#21918c', '#1fa088', '#28ae80', '#3fbc73', '#5ec962', '#84d44b', '#addc30', '#d8e219', '#fde725'],
196 plasma => ['#0d0887', '#310597', '#4c02a1', '#6600a7', '#7e03a8', '#9511a1', '#aa2395', '#bc3587', '#cc4778', '#da5a6a', '#e66c5c', '#f0804e', '#f89540', '#fdac33', '#fdc527', '#f8df25', '#f0f921'],
197 inferno => ['#000004', '#0b0724', '#210c4a', '#3d0965', '#57106e', '#71196e', '#8a226a', '#a32c61', '#bc3754', '#d24644', '#e45a31', '#f1731d', '#f98e09', '#fcac11', '#f9cb35', '#f2ea69', '#fcffa4'],
198 magma => ['#000004', '#0a0822', '#1d1147', '#36106b', '#51127c', '#6a1c81', '#832681', '#9c2e7f', '#b73779', '#d0416f', '#e75263', '#f56b5c', '#fc8961', '#fea772', '#fec488', '#fde2a3', '#fcfdbf'],
199 cividis => ['#00224e', '#002e6a', '#1a386f', '#32436d', '#434e6c', '#535a6d', '#61656f', '#6f7073', '#7d7c78', '#8c8878', '#9b9476', '#aba072', '#bcae6c', '#cdbb63', '#dec958', '#f0d846', '#fee838'],
200 turbo => ['#30123b', '#4040a2', '#466be3', '#4294ff', '#28bceb', '#18ddc2', '#32f298', '#6dfe62', '#a4fc3c', '#cdec34', '#eecf3a', '#fdac34', '#fb7e21', '#eb500e', '#d02f05', '#a91601', '#7a0403'],
201 gist_rainbow => ['#ff0029', '#ff2d00', '#ff8400', '#ffda00', '#cdff00', '#77ff00', '#20ff00', '#00ff36', '#00ff8c', '#00ffe2', '#00c6ff', '#006fff', '#0018ff', '#3f00ff', '#9600ff', '#ed00ff', '#ff00bf'],
202 rainbow => ['#8000ff', '#6032fe', '#4062fa', '#208ef4', '#00b5eb', '#20d5e1', '#40ecd4', '#60fac5', '#80ffb4', '#a0faa1', '#c0eb8d', '#e0d377', '#ffb360', '#ff8c49', '#ff5f30', '#ff2f18', '#ff0000'],
203 jet => ['#000080', '#0000c8', '#0000ff', '#0040ff', '#0080ff', '#00c0ff', '#16ffe1', '#49ffad', '#7dff7a', '#b1ff46', '#e4ff13', '#ffd000', '#ff9400', '#ff5900', '#ff1e00', '#c40000', '#800000'],
204 coolwarm => ['#3b4cc0', '#4e68d8', '#6282ea', '#779af7', '#8db0fe', '#a3c2fe', '#b9d0f9', '#ccd9ed', '#dddcdc', '#ecd3c5', '#f5c4ac', '#f7b093', '#f4987a', '#eb7d62', '#dd5f4b', '#ca3b37', '#b40426'],
205 bwr => ['#0000ff', '#2020ff', '#4040ff', '#6060ff', '#8080ff', '#a0a0ff', '#c0c0ff', '#e0e0ff', '#fffefe', '#ffdede', '#ffbebe', '#ff9e9e', '#ff7e7e', '#ff5e5e', '#ff3e3e', '#ff1e1e', '#ff0000'],
206 seismic => ['#00004c', '#000079', '#0000a6', '#0000d3', '#0101ff', '#4141ff', '#8181ff', '#c1c1ff', '#fffdfd', '#ffbdbd', '#ff7d7d', '#ff3d3d', '#fe0000', '#de0000', '#be0000', '#9e0000', '#800000'],
207 RdBu => ['#67001f', '#960f27', '#bb2a34', '#d25849', '#e58368', '#f5ac8b', '#fbceb7', '#fbe6da', '#f6f7f7', '#deebf2', '#c0dceb', '#98c8e0', '#68abd0', '#3e8cbf', '#2870b1', '#15508d', '#053061'],
208 RdYlBu => ['#a50026', '#c41e27', '#de402e', '#f16640', '#f98e52', '#fdb567', '#fed485', '#feeca2', '#feffc0', '#ebf7e4', '#d1ecf4', '#b0dcea', '#8ec2dc', '#6da4cc', '#4f81ba', '#3d5ba7', '#313695'],
209 RdYlGn => ['#a50026', '#c41e27', '#de402e', '#f16640', '#f98e52', '#fdb567', '#fed481', '#feec9f', '#feffbe', '#e6f59d', '#cbe982', '#abdb6d', '#84ca66', '#5ab760', '#2aa054', '#0f8446', '#006837'],
210 Spectral => ['#9e0142', '#c1274a', '#dd4a4c', '#f06744', '#f98e52', '#fdb567', '#fed481', '#feec9f', '#ffffbe', '#eff9a6', '#d6ee9b', '#b1dfa3', '#86cfa5', '#5eb9a9', '#3d95b8', '#4471b2', '#5e4fa2'],
211 PiYG => ['#8e0152', '#b1116d', '#cb3289', '#db6ca8', '#e897c4', '#f3bcdd', '#fad6ea', '#fbe9f2', '#f7f7f6', '#ecf6de', '#d9f0bc', '#bde38d', '#9acd61', '#77b53c', '#589b28', '#3d7f1e', '#276419'],
212 PRGn => ['#40004b', '#621a6e', '#7f3c8d', '#9568a6', '#ae8bbd', '#c7abd2', '#dec9e2', '#ede2ee', '#f6f7f6', '#e4f2e0', '#cbeac5', '#abdda5', '#7ec37f', '#50a65a', '#298440', '#10632b', '#00441b'],
213 BrBG => ['#543005', '#774508', '#995d13', '#b97b29', '#cfa256', '#e2c787', '#f1dfb3', '#f6edd7', '#f4f5f5', '#d7eeeb', '#b4e2db', '#87d0c5', '#58b0a7', '#2d8f87', '#0c7169', '#01554b', '#003c30'],
214 Blues => ['#f7fbff', '#eaf3fb', '#deebf7', '#d2e3f3', '#c6dbef', '#b2d2e8', '#9dcae1', '#84bcdb', '#6aaed6', '#56a0ce', '#4191c6', '#3181bd', '#2070b4', '#1460a8', '#08509b', '#084082', '#08306b'],
215 Greens => ['#f7fcf5', '#eef8ea', '#e5f5e0', '#d6efd0', '#c7e9c0', '#b4e1ad', '#a0d99b', '#8ace88', '#73c476', '#5ab769', '#40aa5d', '#319a50', '#228a44', '#117b38', '#006c2c', '#005723', '#00441b'],
216 Greys => ['#ffffff', '#f7f7f7', '#f0f0f0', '#e4e4e4', '#d9d9d9', '#cbcbcb', '#bdbdbd', '#a9a9a9', '#959595', '#848484', '#727272', '#626262', '#515151', '#3a3a3a', '#242424', '#111111', '#000000'],
217 Oranges => ['#fff5eb', '#feeddc', '#fee6ce', '#fddbb8', '#fdd0a2', '#fdbf86', '#fdae6a', '#fd9d53', '#fd8c3b', '#f77a27', '#f16813', '#e4580a', '#d84801', '#be3f02', '#a53603', '#912e04', '#7f2704'],
218 Purples => ['#fcfbfd', '#f5f4f9', '#efedf5', '#e4e3f0', '#dadaeb', '#cbcbe3', '#bcbddc', '#adabd2', '#9e9ac8', '#8e8bc1', '#807cba', '#7566ae', '#6950a3', '#5e3b98', '#53268f', '#491285', '#3f007d'],
219 Reds => ['#fff5f0', '#feeae1', '#fee0d2', '#fdcdb9', '#fcbba1', '#fca689', '#fc9272', '#fb7d5d', '#fb694a', '#f5523a', '#ee3a2c', '#dc2924', '#ca181d', '#b71319', '#a30f15', '#840711', '#67000d'],
220 YlOrRd => ['#ffffcc', '#fff6b6', '#ffeda0', '#fee38b', '#fed976', '#fec561', '#feb24c', '#fd9f44', '#fd8c3c', '#fc6c33', '#fc4d2a', '#ef3323', '#e2191c', '#cf0c21', '#bb0026', '#9d0026', '#800026'],
221 YlGnBu => ['#ffffd9', '#f6fbc5', '#edf8b1', '#daf0b3', '#c6e9b4', '#a2dbb8', '#7ecdbb', '#5fc1c0', '#40b5c4', '#2ea3c2', '#1d90c0', '#2076b3', '#225da8', '#24489d', '#243392', '#162874', '#081d58'],
222 hot => ['#0b0000', '#350000', '#5f0000', '#890000', '#b30000', '#dd0000', '#ff0800', '#ff3200', '#ff5c00', '#ff8600', '#ffb000', '#ffda00', '#ffff07', '#ffff46', '#ffff85', '#ffffc4', '#ffffff'],
223 cool => ['#00ffff', '#10efff', '#20dfff', '#30cfff', '#40bfff', '#50afff', '#609fff', '#708fff', '#807fff', '#906fff', '#a05fff', '#b04fff', '#c03fff', '#d02fff', '#e01fff', '#f00fff', '#ff00ff'],
224 spring => ['#ff00ff', '#ff10ef', '#ff20df', '#ff30cf', '#ff40bf', '#ff50af', '#ff609f', '#ff708f', '#ff807f', '#ff906f', '#ffa05f', '#ffb04f', '#ffc03f', '#ffd02f', '#ffe01f', '#fff00f', '#ffff00'],
225 summer => ['#008066', '#108866', '#209066', '#309866', '#40a066', '#50a866', '#60b066', '#70b866', '#80c066', '#90c866', '#a0d066', '#b0d866', '#c0e066', '#d0e866', '#e0f066', '#f0f866', '#ffff66'],
226 autumn => ['#ff0000', '#ff1000', '#ff2000', '#ff3000', '#ff4000', '#ff5000', '#ff6000', '#ff7000', '#ff8000', '#ff9000', '#ffa000', '#ffb000', '#ffc000', '#ffd000', '#ffe000', '#fff000', '#ffff00'],
227 winter => ['#0000ff', '#0010f7', '#0020ef', '#0030e7', '#0040df', '#0050d7', '#0060cf', '#0070c7', '#0080bf', '#0090b7', '#00a0af', '#00b0a7', '#00c09f', '#00d097', '#00e08f', '#00f087', '#00ff80'],
228 gray => ['#000000', '#101010', '#202020', '#303030', '#404040', '#505050', '#606060', '#707070', '#808080', '#909090', '#a0a0a0', '#b0b0b0', '#c0c0c0', '#d0d0d0', '#e0e0e0', '#f0f0f0', '#ffffff'],
229 bone => ['#000000', '#0e0e13', '#1c1c27', '#2a2a3a', '#38384e', '#464661', '#545574', '#626882', '#707b90', '#7e8f9e', '#8ca2ac', '#9ab5ba', '#a9c8c8', '#bfd6d6', '#d5e4e4', '#eaf2f2', '#ffffff'],
230 copper => ['#000000', '#140c08', '#281910', '#3b2518', '#4f3220', '#633e28', '#774b30', '#8a5738', '#9e6440', '#b27048', '#c67d50', '#d98958', '#ed9660', '#ffa267', '#ffaf6f', '#ffbb77', '#ffc77f'],
231 );
232 7 1;
« blib/lib/Matplotlib/Simple/Ggplot2.pm ↑ Summary