https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ABrewerColors Module:BrewerColors - Revision history 2025-05-29T05:54:03Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.2 https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=1276367121&oldid=prev Gonnym: require('strict') 2025-02-18T12:52:23Z <p>require(&#039;strict&#039;)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:52, 18 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>require('strict')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 357:</td> <td colspan="2" class="diff-lineno">Line 358:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.GetColors(ColorName, IsInv, N, CallError)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.GetColors(ColorName, IsInv, N, CallError)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {} </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {} </div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> function GetC(ColorSet)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">local </ins>function GetC(ColorSet)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (N &lt; 3) or (N &gt; (table.getn(ColorSet)+2)) then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (N &lt; 3) or (N &gt; (table.getn(ColorSet)+2)) then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if CallError then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if CallError then</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 442:</td> <td colspan="2" class="diff-lineno">Line 443:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors(ColorName, IsInv, N, true)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors(ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, N, 4)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;">local </ins>Labels, NLabels, OutlineColor = CFCM.GetLabels (args, N, 4)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText(ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText(ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> </table> Gonnym https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=1148734070&oldid=prev Lemondoge: Minor simplifications and formatting improvements 2023-04-07T23:51:51Z <p>Minor simplifications and formatting improvements</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:51, 7 April 2023</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 14:</td> <td colspan="2" class="diff-lineno">Line 14:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local RS_ColorNameInvalid = 'ColorNameInvalid'</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local RS_ColorNameInvalid = 'ColorNameInvalid'</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local function I18nStr<del style="font-weight: bold; text-decoration: none;"> </del>(S, ...)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>local function I18nStr(S, ...)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return TNTT.GetMsgP<del style="font-weight: bold; text-decoration: none;"> </del>(I18n, S, {...})</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return TNTT.GetMsgP(I18n, S, {...})</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 360:</td> <td colspan="2" class="diff-lineno">Line 360:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (N &lt; 3) or (N &gt; (table.getn(ColorSet)+2)) then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if (N &lt; 3) or (N &gt; (table.getn(ColorSet)+2)) then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if CallError then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if CallError then</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> error<del style="font-weight: bold; text-decoration: none;"> </del>(I18nStr(RS_ColorNumInvalid,tostring(N)), 0)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> error(I18nStr(RS_ColorNumInvalid,tostring(N)), 0)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif IsInv then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif IsInv then</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> for i=table.getn(ColorSet[N-2]), 1, -1 do</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> for i<ins style="font-weight: bold; text-decoration: none;"> </ins>=<ins style="font-weight: bold; text-decoration: none;"> </ins>table.getn(ColorSet[N-2]), 1, -1 do</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> table.insert<del style="font-weight: bold; text-decoration: none;"> </del>(ColorFound, '#'..ColorSet[N-2][i])</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> table.insert(ColorFound, '#'..ColorSet[N-2][i])</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> else </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> else </div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> for i=1, table.getn(ColorSet[N-2]) do</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> for i<ins style="font-weight: bold; text-decoration: none;"> </ins>=<ins style="font-weight: bold; text-decoration: none;"> </ins>1, table.getn(ColorSet[N-2]) do</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> table.insert<del style="font-weight: bold; text-decoration: none;"> </del>(ColorFound, '#'..ColorSet[N-2][i])</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> table.insert(ColorFound, '#'..ColorSet[N-2][i])</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local ColorNameL = string.lower<del style="font-weight: bold; text-decoration: none;"> </del>(ColorName)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local ColorNameL = string.lower(ColorName)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if ColorNameL == 'ylgn' then GetC(ColorYlGn)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if ColorNameL == 'ylgn' then GetC(ColorYlGn)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'ylgnbu' then GetC(ColorYlGnBu)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'ylgnbu' then GetC(ColorYlGnBu)</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 408:</td> <td colspan="2" class="diff-lineno">Line 408:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'set2' then GetC(ColorSet2)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'set2' then GetC(ColorSet2)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'set3' then GetC(ColorSet3)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> elseif ColorNameL == 'set3' then GetC(ColorSet3)</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_14_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_11_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> elseif</ins> CallError then</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> else</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_15_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_13_0_rhs"></a> error(I18nStr(RS_ColorNameInvalid,ColorName), 0)</div></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_11_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_14_0_lhs"></a><del style="font-weight: bold; text-decoration: none;"> if</del> CallError then</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_13_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_15_0_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del> error<del style="font-weight: bold; text-decoration: none;"> </del>(I18nStr<del style="font-weight: bold; text-decoration: none;"> </del>(RS_ColorNameInvalid,ColorName), 0)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return ColorFound</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return ColorFound</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 420:</td> <td colspan="2" class="diff-lineno">Line 418:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv<del style="font-weight: bold; text-decoration: none;"> </del>(args)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv(args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors<del style="font-weight: bold; text-decoration: none;"> </del>(ColorName, IsInv, N, true)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors(ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local boxes = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local boxes = {}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> for i=1, table.getn(ColorFound) do</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> for i<ins style="font-weight: bold; text-decoration: none;"> </ins>=<ins style="font-weight: bold; text-decoration: none;"> </ins>1, table.getn(ColorFound) do</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 436:</td> <td colspan="2" class="diff-lineno">Line 434:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv<del style="font-weight: bold; text-decoration: none;"> </del>(args)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv(args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColWidth = args[3]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColWidth = args[3]</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 443:</td> <td colspan="2" class="diff-lineno">Line 441:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local NLabels = 0</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local NLabels = 0</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors<del style="font-weight: bold; text-decoration: none;"> </del>(ColorName, IsInv, N, true)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors(ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, N, 4)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, N, 4)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText<del style="font-weight: bold; text-decoration: none;"> </del>(ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText(ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Lemondoge https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=930059113&oldid=prev Pppery at 23:35, 9 December 2019 2019-12-09T23:35:12Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:35, 9 December 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 436:</td> <td colspan="2" class="diff-lineno">Line 436:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local Nargs = require("Module:TableTools").length(args)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = tonumber(args[2])</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 445:</td> <td colspan="2" class="diff-lineno">Line 444:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args<del style="font-weight: bold; text-decoration: none;">, Nargs</del>, N, 4)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, N, 4)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> </table> Pppery https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=929931802&oldid=prev Pppery: Replace usage of module being deletex 2019-12-09T04:38:01Z <p>Replace usage of module being deletex</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:38, 9 December 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_3_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_1_0_lhs"></a>local <del style="font-weight: bold; text-decoration: none;">SA</del> = require "Module:<del style="font-weight: bold; text-decoration: none;">SimpleArgs</del>"</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules"</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_1_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_3_0_rhs"></a>local <ins style="font-weight: bold; text-decoration: none;">ARG</ins> = require "Module:<ins style="font-weight: bold; text-decoration: none;">Arguments</ins>"</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local I18n = 'BrewerColors'</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local I18n = 'BrewerColors'</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 418:</td> <td colspan="2" class="diff-lineno">Line 417:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.ShowColors(frame)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.ShowColors(frame)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local args<del style="font-weight: bold; text-decoration: none;">,Nargs</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">GetArgs </del>(frame<del style="font-weight: bold; text-decoration: none;">)</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local args = <ins style="font-weight: bold; text-decoration: none;">ARG</ins>.<ins style="font-weight: bold; text-decoration: none;">getArgs</ins>(frame<ins style="font-weight: bold; text-decoration: none;">, {</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">N</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">RPosInt_Par</del> (args<del style="font-weight: bold; text-decoration: none;">, 2</del>)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorName, IsInv</ins> = <ins style="font-weight: bold; text-decoration: none;">CFCM</ins>.<ins style="font-weight: bold; text-decoration: none;">ColorNameInv</ins> (args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">WriteColor</del> = args[<del style="font-weight: bold; text-decoration: none;">3</del>]<del style="font-weight: bold; text-decoration: none;"> or ''</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">N</ins> = <ins style="font-weight: bold; text-decoration: none;">tonumber(</ins>args[<ins style="font-weight: bold; text-decoration: none;">2</ins>]<ins style="font-weight: bold; text-decoration: none;">)</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColorFound</del> = <del style="font-weight: bold; text-decoration: none;">{}</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">WriteColor</ins> = <ins style="font-weight: bold; text-decoration: none;">args[3] or ''</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> local ColorFound = {}</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local boxes = {}</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local boxes = {}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>for i=1, table.getn(ColorFound) do</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>for i=1, table.getn(ColorFound) do</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_16_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_14_1_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del>return table.concat(boxes, " ")</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_14_1_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_16_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> </ins>return table.concat(boxes, " ")</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.Legends(frame)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>function p.Legends(frame)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local args<del style="font-weight: bold; text-decoration: none;">,Nargs</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">GetArgs </del>(frame<del style="font-weight: bold; text-decoration: none;">)</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local args = <ins style="font-weight: bold; text-decoration: none;">ARG</ins>.<ins style="font-weight: bold; text-decoration: none;">getArgs</ins>(frame<ins style="font-weight: bold; text-decoration: none;">, {</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> removeBlanks = false</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> })</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">N</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">RPosInt_Par </del>(args<del style="font-weight: bold; text-decoration: none;">, 2</del>)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">Nargs</ins> = <ins style="font-weight: bold; text-decoration: none;">require("Module:TableTools")</ins>.<ins style="font-weight: bold; text-decoration: none;">length</ins>(args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColWidth</del> = args<del style="font-weight: bold; text-decoration: none;">[3]</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorName, IsInv</ins> = <ins style="font-weight: bold; text-decoration: none;">CFCM.ColorNameInv (</ins>args<ins style="font-weight: bold; text-decoration: none;">)</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColorFound</del> = <del style="font-weight: bold; text-decoration: none;">{}</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">N</ins> = <ins style="font-weight: bold; text-decoration: none;">tonumber(args[2])</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">Labels</del> = <del style="font-weight: bold; text-decoration: none;">{}</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins> = <ins style="font-weight: bold; text-decoration: none;">args[3]</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">NLabels</del> = <del style="font-weight: bold; text-decoration: none;">0</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorFound</ins> = <ins style="font-weight: bold; text-decoration: none;">{}</ins></div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">IsTemplate</del> = <del style="font-weight: bold; text-decoration: none;">true</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">Labels</ins> = <ins style="font-weight: bold; text-decoration: none;">{}</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local NLabels = 0</div></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_28_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_25_0_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local IsTemplate = true</div></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_30_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_27_0_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del>Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_25_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_28_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> </ins>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_32_0_rhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_29_0_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del>return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_27_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_30_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> </ins>Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_29_0_lhs">&#x26AB;</a></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><a name="movedpara_32_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> </ins>return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Pppery https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=925861879&oldid=prev Pppery: Please stop trying to overturn consensus 2019-11-12T20:07:14Z <p>Please stop trying to overturn consensus</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:07, 12 November 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 438:</td> <td colspan="2" class="diff-lineno">Line 438:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_Par (args, 2)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_Par (args, 2)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local <del style="font-weight: bold; text-decoration: none;">NCols</del> = <del style="font-weight: bold; text-decoration: none;">SA.RPosInt_Par (</del>args<del style="font-weight: bold; text-decoration: none;">, </del>3<del style="font-weight: bold; text-decoration: none;">, 1, 9)</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins> = args<ins style="font-weight: bold; text-decoration: none;">[</ins>3<ins style="font-weight: bold; text-decoration: none;">]</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 445:</td> <td colspan="2" class="diff-lineno">Line 445:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <del style="font-weight: bold; text-decoration: none;">NCols</del>, IsTemplate, OutlineColor)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins>, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> </table> Pppery https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=925802952&oldid=prev Jmarchn at 12:12, 12 November 2019 2019-11-12T12:12:04Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:12, 12 November 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 2:</td> <td colspan="2" class="diff-lineno">Line 2:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local SA = require "Module:SimpleArgs"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local SA = require "Module:SimpleArgs"</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules<del style="font-weight: bold; text-decoration: none;">/sandbox</del>"</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules"</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 16:</td> <td colspan="2" class="diff-lineno">Line 16:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local function I18nStr (S, ...)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local function I18nStr (S, ...)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return TNTT.<del style="font-weight: bold; text-decoration: none;">GetSTransWithParams</del> (I18n, S, {...})</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return TNTT.<ins style="font-weight: bold; text-decoration: none;">GetMsgP</ins> (I18n, S, {...})</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 438:</td> <td colspan="2" class="diff-lineno">Line 438:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_Par (args, 2)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_Par (args, 2)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local <del style="font-weight: bold; text-decoration: none;">ColWidth</del> = args<del style="font-weight: bold; text-decoration: none;">[</del>3<del style="font-weight: bold; text-decoration: none;">]</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local <ins style="font-weight: bold; text-decoration: none;">NCols</ins> = <ins style="font-weight: bold; text-decoration: none;">SA.RPosInt_Par (</ins>args<ins style="font-weight: bold; text-decoration: none;">, </ins>3<ins style="font-weight: bold; text-decoration: none;">, 1, 9)</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 445:</td> <td colspan="2" class="diff-lineno">Line 445:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <del style="font-weight: bold; text-decoration: none;">ColWidth</del>, IsTemplate, OutlineColor)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <ins style="font-weight: bold; text-decoration: none;">NCols</ins>, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> </table> Jmarchn https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=925188865&oldid=prev Jmarchn at 12:19, 8 November 2019 2019-11-08T12:19:45Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:19, 8 November 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 421:</td> <td colspan="2" class="diff-lineno">Line 421:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosInt_1Par</del> (args, 2)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_Par</ins> (args, 2)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 437:</td> <td colspan="2" class="diff-lineno">Line 437:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosInt_1Par</del> (args, 2)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_Par</ins> (args, 2)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColWidth = args[3]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColWidth = args[3]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> </table> Jmarchn https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=924932455&oldid=prev Pppery: Percolating Module:Multicol deletion 2019-11-06T20:29:42Z <p>Percolating <a href="/w/index.php?title=Module:Multicol&amp;action=edit&amp;redlink=1" class="new" title="Module:Multicol (page does not exist)">Module:Multicol</a> deletion</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:29, 6 November 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 2:</td> <td colspan="2" class="diff-lineno">Line 2:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local SA = require "Module:SimpleArgs"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local SA = require "Module:SimpleArgs"</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules"</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>local CFCM = require "Module:ComplForColorModules<ins style="font-weight: bold; text-decoration: none;">/sandbox</ins>"</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local TNTT = require "Module:TNTTools"</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 438:</td> <td colspan="2" class="diff-lineno">Line 438:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_1Par (args, 2)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.RPosInt_1Par (args, 2)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local <del style="font-weight: bold; text-decoration: none;">NCols</del> = <del style="font-weight: bold; text-decoration: none;">SA.RPosInt_1Par (</del>args<del style="font-weight: bold; text-decoration: none;">, </del>3<del style="font-weight: bold; text-decoration: none;">, 1, 9)</del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins> = args<ins style="font-weight: bold; text-decoration: none;">[</ins>3<ins style="font-weight: bold; text-decoration: none;">]</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 445:</td> <td colspan="2" class="diff-lineno">Line 445:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <del style="font-weight: bold; text-decoration: none;">NCols</del>, IsTemplate, OutlineColor)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> return CFCM.LegendText (ColorFound, Labels, NLabels, <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins>, IsTemplate, OutlineColor)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> end </div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end </div></td> </tr> </table> Pppery https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=924914510&oldid=prev Jmarchn at 18:23, 6 November 2019 2019-11-06T18:23:09Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:23, 6 November 2019</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 421:</td> <td colspan="2" class="diff-lineno">Line 421:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosIntFromArgs</del> (args, 2)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_1Par</ins> (args, 2)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local WriteColor = args[3] or ''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 437:</td> <td colspan="2" class="diff-lineno">Line 437:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> if Nargs &gt; 0 then</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosIntFromArgs</del> (args, 2)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_1Par</ins> (args, 2)</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> local NCols = SA.<del style="font-weight: bold; text-decoration: none;">RPosIntFromArgs</del> (args, 3, 1, 9)</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> local NCols = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_1Par</ins> (args, 3, 1, 9)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local ColorFound = {}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> local Labels = {}</div></td> </tr> </table> Jmarchn https://en.wikipedia.org/w/index.php?title=Module:BrewerColors&diff=923172214&oldid=prev Jmarchn: ←Created page with 'local p = {} local SA = require "Module:SimpleArgs" local CFCM = require "Module:ComplForColorModules" local TNTT = require "Module:TNTTools" local I18n = 'Bre...' 2019-10-26T21:04:48Z <p><a href="/wiki/Wikipedia:AES" class="mw-redirect" title="Wikipedia:AES">←</a>Created page with &#039;local p = {} local SA = require &quot;Module:SimpleArgs&quot; local CFCM = require &quot;Module:ComplForColorModules&quot; local TNTT = require &quot;Module:TNTTools&quot; local I18n = &#039;Bre...&#039;</p> <p><b>New page</b></p><div>local p = {}<br /> <br /> local SA = require &quot;Module:SimpleArgs&quot;<br /> local CFCM = require &quot;Module:ComplForColorModules&quot;<br /> local TNTT = require &quot;Module:TNTTools&quot;<br /> <br /> local I18n = &#039;BrewerColors&#039;<br /> <br /> --[[ <br /> TRANSLATION, in :Commons:Data:I18n/BrewerColors.tab<br /> local RS_ColorNumInvalid = &#039;El nombre de colors ($1) està fora del rang&#039;<br /> local RS_ColorNameInvalid = &#039;El nom del color ($1) no és vàlid&#039;<br /> --]]<br /> local RS_ColorNumInvalid = &#039;ColorNumInvalid&#039;<br /> local RS_ColorNameInvalid = &#039;ColorNameInvalid&#039;<br /> <br /> local function I18nStr (S, ...)<br /> return TNTT.GetSTransWithParams (I18n, S, {...})<br /> end<br /> <br /> -- This product includes ColorName specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/).<br /> local ColorYlGn = {<br /> {&quot;f7fcb9&quot;,&quot;addd8e&quot;,&quot;31a354&quot;},<br /> {&quot;ffffcc&quot;,&quot;c2e699&quot;,&quot;78c679&quot;,&quot;238443&quot;},<br /> {&quot;ffffcc&quot;,&quot;c2e699&quot;,&quot;78c679&quot;,&quot;31a354&quot;,&quot;006837&quot;},<br /> {&quot;ffffcc&quot;,&quot;d9f0a3&quot;,&quot;addd8e&quot;,&quot;78c679&quot;,&quot;31a354&quot;,&quot;006837&quot;},<br /> {&quot;ffffcc&quot;,&quot;d9f0a3&quot;,&quot;addd8e&quot;,&quot;78c679&quot;,&quot;41ab5d&quot;,&quot;238443&quot;,&quot;005a32&quot;},<br /> {&quot;ffffe5&quot;,&quot;f7fcb9&quot;,&quot;d9f0a3&quot;,&quot;addd8e&quot;,&quot;78c679&quot;,&quot;41ab5d&quot;,&quot;238443&quot;,&quot;005a32&quot;},<br /> {&quot;ffffe5&quot;,&quot;f7fcb9&quot;,&quot;d9f0a3&quot;,&quot;addd8e&quot;,&quot;78c679&quot;,&quot;41ab5d&quot;,&quot;238443&quot;,&quot;006837&quot;,&quot;004529&quot;},<br /> }<br /> local ColorYlGnBu = {<br /> {&quot;edf8b1&quot;,&quot;7fcdbb&quot;,&quot;2c7fb8&quot;},<br /> {&quot;ffffcc&quot;,&quot;a1dab4&quot;,&quot;41b6c4&quot;,&quot;225ea8&quot;},<br /> {&quot;ffffcc&quot;,&quot;a1dab4&quot;,&quot;41b6c4&quot;,&quot;2c7fb8&quot;,&quot;253494&quot;},<br /> {&quot;ffffcc&quot;,&quot;c7e9b4&quot;,&quot;7fcdbb&quot;,&quot;41b6c4&quot;,&quot;2c7fb8&quot;,&quot;253494&quot;},<br /> {&quot;ffffcc&quot;,&quot;c7e9b4&quot;,&quot;7fcdbb&quot;,&quot;41b6c4&quot;,&quot;1d91c0&quot;,&quot;225ea8&quot;,&quot;0c2c84&quot;},<br /> {&quot;ffffd9&quot;,&quot;edf8b1&quot;,&quot;c7e9b4&quot;,&quot;7fcdbb&quot;,&quot;41b6c4&quot;,&quot;1d91c0&quot;,&quot;225ea8&quot;,&quot;0c2c84&quot;},<br /> {&quot;ffffd9&quot;,&quot;edf8b1&quot;,&quot;c7e9b4&quot;,&quot;7fcdbb&quot;,&quot;41b6c4&quot;,&quot;1d91c0&quot;,&quot;225ea8&quot;,&quot;253494&quot;,&quot;081d58&quot;},<br /> }<br /> local ColorGnBu = {<br /> {&quot;e0f3db&quot;,&quot;a8ddb5&quot;,&quot;43a2ca&quot;},<br /> {&quot;f0f9e8&quot;,&quot;bae4bc&quot;,&quot;7bccc4&quot;,&quot;2b8cbe&quot;},<br /> {&quot;f0f9e8&quot;,&quot;bae4bc&quot;,&quot;7bccc4&quot;,&quot;43a2ca&quot;,&quot;0868ac&quot;},<br /> {&quot;f0f9e8&quot;,&quot;ccebc5&quot;,&quot;a8ddb5&quot;,&quot;7bccc4&quot;,&quot;43a2ca&quot;,&quot;0868ac&quot;},<br /> {&quot;f0f9e8&quot;,&quot;ccebc5&quot;,&quot;a8ddb5&quot;,&quot;7bccc4&quot;,&quot;4eb3d3&quot;,&quot;2b8cbe&quot;,&quot;08589e&quot;},<br /> {&quot;f7fcf0&quot;,&quot;e0f3db&quot;,&quot;ccebc5&quot;,&quot;a8ddb5&quot;,&quot;7bccc4&quot;,&quot;4eb3d3&quot;,&quot;2b8cbe&quot;,&quot;08589e&quot;},<br /> {&quot;f7fcf0&quot;,&quot;e0f3db&quot;,&quot;ccebc5&quot;,&quot;a8ddb5&quot;,&quot;7bccc4&quot;,&quot;4eb3d3&quot;,&quot;2b8cbe&quot;,&quot;0868ac&quot;,&quot;084081&quot;},<br /> }<br /> local ColorBuGn = {<br /> {&quot;e5f5f9&quot;,&quot;99d8c9&quot;,&quot;2ca25f&quot;},<br /> {&quot;edf8fb&quot;,&quot;b2e2e2&quot;,&quot;66c2a4&quot;,&quot;238b45&quot;},<br /> {&quot;edf8fb&quot;,&quot;b2e2e2&quot;,&quot;66c2a4&quot;,&quot;2ca25f&quot;,&quot;006d2c&quot;},<br /> {&quot;edf8fb&quot;,&quot;ccece6&quot;,&quot;99d8c9&quot;,&quot;66c2a4&quot;,&quot;2ca25f&quot;,&quot;006d2c&quot;},<br /> {&quot;edf8fb&quot;,&quot;ccece6&quot;,&quot;99d8c9&quot;,&quot;66c2a4&quot;,&quot;41ae76&quot;,&quot;238b45&quot;,&quot;005824&quot;},<br /> {&quot;f7fcfd&quot;,&quot;e5f5f9&quot;,&quot;ccece6&quot;,&quot;99d8c9&quot;,&quot;66c2a4&quot;,&quot;41ae76&quot;,&quot;238b45&quot;,&quot;005824&quot;},<br /> {&quot;f7fcfd&quot;,&quot;e5f5f9&quot;,&quot;ccece6&quot;,&quot;99d8c9&quot;,&quot;66c2a4&quot;,&quot;41ae76&quot;,&quot;238b45&quot;,&quot;006d2c&quot;,&quot;00441b&quot;},<br /> }<br /> local ColorPuBuGn = {<br /> {&quot;ece2f0&quot;,&quot;a6bddb&quot;,&quot;1c9099&quot;},<br /> {&quot;f6eff7&quot;,&quot;bdc9e1&quot;,&quot;67a9cf&quot;,&quot;02818a&quot;},<br /> {&quot;f6eff7&quot;,&quot;bdc9e1&quot;,&quot;67a9cf&quot;,&quot;1c9099&quot;,&quot;016c59&quot;},<br /> {&quot;f6eff7&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;67a9cf&quot;,&quot;1c9099&quot;,&quot;016c59&quot;},<br /> {&quot;f6eff7&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;67a9cf&quot;,&quot;3690c0&quot;,&quot;02818a&quot;,&quot;016450&quot;},<br /> {&quot;fff7fb&quot;,&quot;ece2f0&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;67a9cf&quot;,&quot;3690c0&quot;,&quot;02818a&quot;,&quot;016450&quot;},<br /> {&quot;fff7fb&quot;,&quot;ece2f0&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;67a9cf&quot;,&quot;3690c0&quot;,&quot;02818a&quot;,&quot;016c59&quot;,&quot;014636&quot;},<br /> }<br /> local ColorPuBu = {<br /> {&quot;ece7f2&quot;,&quot;a6bddb&quot;,&quot;2b8cbe&quot;},<br /> {&quot;f1eef6&quot;,&quot;bdc9e1&quot;,&quot;74a9cf&quot;,&quot;0570b0&quot;},<br /> {&quot;f1eef6&quot;,&quot;bdc9e1&quot;,&quot;74a9cf&quot;,&quot;2b8cbe&quot;,&quot;045a8d&quot;},<br /> {&quot;f1eef6&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;74a9cf&quot;,&quot;2b8cbe&quot;,&quot;045a8d&quot;},<br /> {&quot;f1eef6&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;74a9cf&quot;,&quot;3690c0&quot;,&quot;0570b0&quot;,&quot;034e7b&quot;},<br /> {&quot;fff7fb&quot;,&quot;ece7f2&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;74a9cf&quot;,&quot;3690c0&quot;,&quot;0570b0&quot;,&quot;034e7b&quot;},<br /> {&quot;fff7fb&quot;,&quot;ece7f2&quot;,&quot;d0d1e6&quot;,&quot;a6bddb&quot;,&quot;74a9cf&quot;,&quot;3690c0&quot;,&quot;0570b0&quot;,&quot;045a8d&quot;,&quot;023858&quot;},<br /> }<br /> local ColorBuPu = {<br /> {&quot;e0ecf4&quot;,&quot;9ebcda&quot;,&quot;8856a7&quot;},<br /> {&quot;edf8fb&quot;,&quot;b3cde3&quot;,&quot;8c96c6&quot;,&quot;88419d&quot;},<br /> {&quot;edf8fb&quot;,&quot;b3cde3&quot;,&quot;8c96c6&quot;,&quot;8856a7&quot;,&quot;810f7c&quot;},<br /> {&quot;edf8fb&quot;,&quot;bfd3e6&quot;,&quot;9ebcda&quot;,&quot;8c96c6&quot;,&quot;8856a7&quot;,&quot;810f7c&quot;},<br /> {&quot;edf8fb&quot;,&quot;bfd3e6&quot;,&quot;9ebcda&quot;,&quot;8c96c6&quot;,&quot;8c6bb1&quot;,&quot;88419d&quot;,&quot;6e016b&quot;},<br /> {&quot;f7fcfd&quot;,&quot;e0ecf4&quot;,&quot;bfd3e6&quot;,&quot;9ebcda&quot;,&quot;8c96c6&quot;,&quot;8c6bb1&quot;,&quot;88419d&quot;,&quot;6e016b&quot;},<br /> {&quot;f7fcfd&quot;,&quot;e0ecf4&quot;,&quot;bfd3e6&quot;,&quot;9ebcda&quot;,&quot;8c96c6&quot;,&quot;8c6bb1&quot;,&quot;88419d&quot;,&quot;810f7c&quot;,&quot;4d004b&quot;},<br /> }<br /> local ColorRdPu = {<br /> {&quot;fde0dd&quot;,&quot;fa9fb5&quot;,&quot;c51b8a&quot;},<br /> {&quot;feebe2&quot;,&quot;fbb4b9&quot;,&quot;f768a1&quot;,&quot;ae017e&quot;},<br /> {&quot;feebe2&quot;,&quot;fbb4b9&quot;,&quot;f768a1&quot;,&quot;c51b8a&quot;,&quot;7a0177&quot;},<br /> {&quot;feebe2&quot;,&quot;fcc5c0&quot;,&quot;fa9fb5&quot;,&quot;f768a1&quot;,&quot;c51b8a&quot;,&quot;7a0177&quot;},<br /> {&quot;feebe2&quot;,&quot;fcc5c0&quot;,&quot;fa9fb5&quot;,&quot;f768a1&quot;,&quot;dd3497&quot;,&quot;ae017e&quot;,&quot;7a0177&quot;},<br /> {&quot;fff7f3&quot;,&quot;fde0dd&quot;,&quot;fcc5c0&quot;,&quot;fa9fb5&quot;,&quot;f768a1&quot;,&quot;dd3497&quot;,&quot;ae017e&quot;,&quot;7a0177&quot;},<br /> {&quot;fff7f3&quot;,&quot;fde0dd&quot;,&quot;fcc5c0&quot;,&quot;fa9fb5&quot;,&quot;f768a1&quot;,&quot;dd3497&quot;,&quot;ae017e&quot;,&quot;7a0177&quot;,&quot;49006a&quot;},<br /> }<br /> local ColorPuRd = {<br /> {&quot;e7e1ef&quot;,&quot;c994c7&quot;,&quot;dd1c77&quot;},<br /> {&quot;f1eef6&quot;,&quot;d7b5d8&quot;,&quot;df65b0&quot;,&quot;ce1256&quot;},<br /> {&quot;f1eef6&quot;,&quot;d7b5d8&quot;,&quot;df65b0&quot;,&quot;dd1c77&quot;,&quot;980043&quot;},<br /> {&quot;f1eef6&quot;,&quot;d4b9da&quot;,&quot;c994c7&quot;,&quot;df65b0&quot;,&quot;dd1c77&quot;,&quot;980043&quot;},<br /> {&quot;f1eef6&quot;,&quot;d4b9da&quot;,&quot;c994c7&quot;,&quot;df65b0&quot;,&quot;e7298a&quot;,&quot;ce1256&quot;,&quot;91003f&quot;},<br /> {&quot;f7f4f9&quot;,&quot;e7e1ef&quot;,&quot;d4b9da&quot;,&quot;c994c7&quot;,&quot;df65b0&quot;,&quot;e7298a&quot;,&quot;ce1256&quot;,&quot;91003f&quot;},<br /> {&quot;f7f4f9&quot;,&quot;e7e1ef&quot;,&quot;d4b9da&quot;,&quot;c994c7&quot;,&quot;df65b0&quot;,&quot;e7298a&quot;,&quot;ce1256&quot;,&quot;980043&quot;,&quot;67001f&quot;},<br /> }<br /> local ColorOrRd = {<br /> {&quot;fee8c8&quot;,&quot;fdbb84&quot;,&quot;e34a33&quot;},<br /> {&quot;fef0d9&quot;,&quot;fdcc8a&quot;,&quot;fc8d59&quot;,&quot;d7301f&quot;},<br /> {&quot;fef0d9&quot;,&quot;fdcc8a&quot;,&quot;fc8d59&quot;,&quot;e34a33&quot;,&quot;b30000&quot;},<br /> {&quot;fef0d9&quot;,&quot;fdd49e&quot;,&quot;fdbb84&quot;,&quot;fc8d59&quot;,&quot;e34a33&quot;,&quot;b30000&quot;},<br /> {&quot;fef0d9&quot;,&quot;fdd49e&quot;,&quot;fdbb84&quot;,&quot;fc8d59&quot;,&quot;ef6548&quot;,&quot;d7301f&quot;,&quot;990000&quot;},<br /> {&quot;fff7ec&quot;,&quot;fee8c8&quot;,&quot;fdd49e&quot;,&quot;fdbb84&quot;,&quot;fc8d59&quot;,&quot;ef6548&quot;,&quot;d7301f&quot;,&quot;990000&quot;},<br /> {&quot;fff7ec&quot;,&quot;fee8c8&quot;,&quot;fdd49e&quot;,&quot;fdbb84&quot;,&quot;fc8d59&quot;,&quot;ef6548&quot;,&quot;d7301f&quot;,&quot;b30000&quot;,&quot;7f0000&quot;},<br /> }<br /> local ColorYlOrRd = {<br /> {&quot;ffeda0&quot;,&quot;feb24c&quot;,&quot;f03b20&quot;},<br /> {&quot;ffffb2&quot;,&quot;fecc5c&quot;,&quot;fd8d3c&quot;,&quot;e31a1c&quot;},<br /> {&quot;ffffb2&quot;,&quot;fecc5c&quot;,&quot;fd8d3c&quot;,&quot;f03b20&quot;,&quot;bd0026&quot;},<br /> {&quot;ffffb2&quot;,&quot;fed976&quot;,&quot;feb24c&quot;,&quot;fd8d3c&quot;,&quot;f03b20&quot;,&quot;bd0026&quot;},<br /> {&quot;ffffb2&quot;,&quot;fed976&quot;,&quot;feb24c&quot;,&quot;fd8d3c&quot;,&quot;fc4e2a&quot;,&quot;e31a1c&quot;,&quot;b10026&quot;},<br /> {&quot;ffffcc&quot;,&quot;ffeda0&quot;,&quot;fed976&quot;,&quot;feb24c&quot;,&quot;fd8d3c&quot;,&quot;fc4e2a&quot;,&quot;e31a1c&quot;,&quot;b10026&quot;},<br /> {&quot;ffffcc&quot;,&quot;ffeda0&quot;,&quot;fed976&quot;,&quot;feb24c&quot;,&quot;fd8d3c&quot;,&quot;fc4e2a&quot;,&quot;e31a1c&quot;,&quot;bd0026&quot;,&quot;800026&quot;},<br /> }<br /> local ColorYlOrBr = {<br /> {&quot;fff7bc&quot;,&quot;fec44f&quot;,&quot;d95f0e&quot;},<br /> {&quot;ffffd4&quot;,&quot;fed98e&quot;,&quot;fe9929&quot;,&quot;cc4c02&quot;},<br /> {&quot;ffffd4&quot;,&quot;fed98e&quot;,&quot;fe9929&quot;,&quot;d95f0e&quot;,&quot;993404&quot;},<br /> {&quot;ffffd4&quot;,&quot;fee391&quot;,&quot;fec44f&quot;,&quot;fe9929&quot;,&quot;d95f0e&quot;,&quot;993404&quot;},<br /> {&quot;ffffd4&quot;,&quot;fee391&quot;,&quot;fec44f&quot;,&quot;fe9929&quot;,&quot;ec7014&quot;,&quot;cc4c02&quot;,&quot;8c2d04&quot;},<br /> {&quot;ffffe5&quot;,&quot;fff7bc&quot;,&quot;fee391&quot;,&quot;fec44f&quot;,&quot;fe9929&quot;,&quot;ec7014&quot;,&quot;cc4c02&quot;,&quot;8c2d04&quot;},<br /> {&quot;ffffe5&quot;,&quot;fff7bc&quot;,&quot;fee391&quot;,&quot;fec44f&quot;,&quot;fe9929&quot;,&quot;ec7014&quot;,&quot;cc4c02&quot;,&quot;993404&quot;,&quot;662506&quot;},<br /> }<br /> local ColorPurples = {<br /> {&quot;efedf5&quot;,&quot;bcbddc&quot;,&quot;756bb1&quot;},<br /> {&quot;f2f0f7&quot;,&quot;cbc9e2&quot;,&quot;9e9ac8&quot;,&quot;6a51a3&quot;},<br /> {&quot;f2f0f7&quot;,&quot;cbc9e2&quot;,&quot;9e9ac8&quot;,&quot;756bb1&quot;,&quot;54278f&quot;},<br /> {&quot;f2f0f7&quot;,&quot;dadaeb&quot;,&quot;bcbddc&quot;,&quot;9e9ac8&quot;,&quot;756bb1&quot;,&quot;54278f&quot;},<br /> {&quot;f2f0f7&quot;,&quot;dadaeb&quot;,&quot;bcbddc&quot;,&quot;9e9ac8&quot;,&quot;807dba&quot;,&quot;6a51a3&quot;,&quot;4a1486&quot;},<br /> {&quot;fcfbfd&quot;,&quot;efedf5&quot;,&quot;dadaeb&quot;,&quot;bcbddc&quot;,&quot;9e9ac8&quot;,&quot;807dba&quot;,&quot;6a51a3&quot;,&quot;4a1486&quot;},<br /> {&quot;fcfbfd&quot;,&quot;efedf5&quot;,&quot;dadaeb&quot;,&quot;bcbddc&quot;,&quot;9e9ac8&quot;,&quot;807dba&quot;,&quot;6a51a3&quot;,&quot;54278f&quot;,&quot;3f007d&quot;},<br /> }<br /> local ColorBlues = {<br /> {&quot;deebf7&quot;,&quot;9ecae1&quot;,&quot;3182bd&quot;},<br /> {&quot;eff3ff&quot;,&quot;bdd7e7&quot;,&quot;6baed6&quot;,&quot;2171b5&quot;},<br /> {&quot;eff3ff&quot;,&quot;bdd7e7&quot;,&quot;6baed6&quot;,&quot;3182bd&quot;,&quot;08519c&quot;},<br /> {&quot;eff3ff&quot;,&quot;c6dbef&quot;,&quot;9ecae1&quot;,&quot;6baed6&quot;,&quot;3182bd&quot;,&quot;08519c&quot;},<br /> {&quot;eff3ff&quot;,&quot;c6dbef&quot;,&quot;9ecae1&quot;,&quot;6baed6&quot;,&quot;4292c6&quot;,&quot;2171b5&quot;,&quot;084594&quot;},<br /> {&quot;f7fbff&quot;,&quot;deebf7&quot;,&quot;c6dbef&quot;,&quot;9ecae1&quot;,&quot;6baed6&quot;,&quot;4292c6&quot;,&quot;2171b5&quot;,&quot;084594&quot;},<br /> {&quot;f7fbff&quot;,&quot;deebf7&quot;,&quot;c6dbef&quot;,&quot;9ecae1&quot;,&quot;6baed6&quot;,&quot;4292c6&quot;,&quot;2171b5&quot;,&quot;08519c&quot;,&quot;08306b&quot;},<br /> }<br /> local ColorGreens = {<br /> {&quot;e5f5e0&quot;,&quot;a1d99b&quot;,&quot;31a354&quot;},<br /> {&quot;edf8e9&quot;,&quot;bae4b3&quot;,&quot;74c476&quot;,&quot;238b45&quot;},<br /> {&quot;edf8e9&quot;,&quot;bae4b3&quot;,&quot;74c476&quot;,&quot;31a354&quot;,&quot;006d2c&quot;},<br /> {&quot;edf8e9&quot;,&quot;c7e9c0&quot;,&quot;a1d99b&quot;,&quot;74c476&quot;,&quot;31a354&quot;,&quot;006d2c&quot;},<br /> {&quot;edf8e9&quot;,&quot;c7e9c0&quot;,&quot;a1d99b&quot;,&quot;74c476&quot;,&quot;41ab5d&quot;,&quot;238b45&quot;,&quot;005a32&quot;},<br /> {&quot;f7fcf5&quot;,&quot;e5f5e0&quot;,&quot;c7e9c0&quot;,&quot;a1d99b&quot;,&quot;74c476&quot;,&quot;41ab5d&quot;,&quot;238b45&quot;,&quot;005a32&quot;},<br /> {&quot;f7fcf5&quot;,&quot;e5f5e0&quot;,&quot;c7e9c0&quot;,&quot;a1d99b&quot;,&quot;74c476&quot;,&quot;41ab5d&quot;,&quot;238b45&quot;,&quot;006d2c&quot;,&quot;00441b&quot;},<br /> }<br /> local ColorOranges = {<br /> {&quot;fee6ce&quot;,&quot;fdae6b&quot;,&quot;e6550d&quot;},<br /> {&quot;feedde&quot;,&quot;fdbe85&quot;,&quot;fd8d3c&quot;,&quot;d94701&quot;},<br /> {&quot;feedde&quot;,&quot;fdbe85&quot;,&quot;fd8d3c&quot;,&quot;e6550d&quot;,&quot;a63603&quot;},<br /> {&quot;feedde&quot;,&quot;fdd0a2&quot;,&quot;fdae6b&quot;,&quot;fd8d3c&quot;,&quot;e6550d&quot;,&quot;a63603&quot;},<br /> {&quot;feedde&quot;,&quot;fdd0a2&quot;,&quot;fdae6b&quot;,&quot;fd8d3c&quot;,&quot;f16913&quot;,&quot;d94801&quot;,&quot;8c2d04&quot;},<br /> {&quot;fff5eb&quot;,&quot;fee6ce&quot;,&quot;fdd0a2&quot;,&quot;fdae6b&quot;,&quot;fd8d3c&quot;,&quot;f16913&quot;,&quot;d94801&quot;,&quot;8c2d04&quot;},<br /> {&quot;fff5eb&quot;,&quot;fee6ce&quot;,&quot;fdd0a2&quot;,&quot;fdae6b&quot;,&quot;fd8d3c&quot;,&quot;f16913&quot;,&quot;d94801&quot;,&quot;a63603&quot;,&quot;7f2704&quot;},<br /> }<br /> local ColorReds = {<br /> {&quot;fee0d2&quot;,&quot;fc9272&quot;,&quot;de2d26&quot;},<br /> {&quot;fee5d9&quot;,&quot;fcae91&quot;,&quot;fb6a4a&quot;,&quot;cb181d&quot;},<br /> {&quot;fee5d9&quot;,&quot;fcae91&quot;,&quot;fb6a4a&quot;,&quot;de2d26&quot;,&quot;a50f15&quot;},<br /> {&quot;fee5d9&quot;,&quot;fcbba1&quot;,&quot;fc9272&quot;,&quot;fb6a4a&quot;,&quot;de2d26&quot;,&quot;a50f15&quot;},<br /> {&quot;fee5d9&quot;,&quot;fcbba1&quot;,&quot;fc9272&quot;,&quot;fb6a4a&quot;,&quot;ef3b2c&quot;,&quot;cb181d&quot;,&quot;99000d&quot;},<br /> {&quot;fff5f0&quot;,&quot;fee0d2&quot;,&quot;fcbba1&quot;,&quot;fc9272&quot;,&quot;fb6a4a&quot;,&quot;ef3b2c&quot;,&quot;cb181d&quot;,&quot;99000d&quot;},<br /> {&quot;fff5f0&quot;,&quot;fee0d2&quot;,&quot;fcbba1&quot;,&quot;fc9272&quot;,&quot;fb6a4a&quot;,&quot;ef3b2c&quot;,&quot;cb181d&quot;,&quot;a50f15&quot;,&quot;67000d&quot;},<br /> }<br /> local ColorGreys = {<br /> {&quot;f0f0f0&quot;,&quot;bdbdbd&quot;,&quot;636363&quot;},<br /> {&quot;f7f7f7&quot;,&quot;cccccc&quot;,&quot;969696&quot;,&quot;525252&quot;},<br /> {&quot;f7f7f7&quot;,&quot;cccccc&quot;,&quot;969696&quot;,&quot;636363&quot;,&quot;252525&quot;},<br /> {&quot;f7f7f7&quot;,&quot;d9d9d9&quot;,&quot;bdbdbd&quot;,&quot;969696&quot;,&quot;636363&quot;,&quot;252525&quot;},<br /> {&quot;f7f7f7&quot;,&quot;d9d9d9&quot;,&quot;bdbdbd&quot;,&quot;969696&quot;,&quot;737373&quot;,&quot;525252&quot;,&quot;252525&quot;},<br /> {&quot;ffffff&quot;,&quot;f0f0f0&quot;,&quot;d9d9d9&quot;,&quot;bdbdbd&quot;,&quot;969696&quot;,&quot;737373&quot;,&quot;525252&quot;,&quot;252525&quot;},<br /> {&quot;ffffff&quot;,&quot;f0f0f0&quot;,&quot;d9d9d9&quot;,&quot;bdbdbd&quot;,&quot;969696&quot;,&quot;737373&quot;,&quot;525252&quot;,&quot;252525&quot;,&quot;000000&quot;},<br /> }<br /> local ColorPuOr = {<br /> {&quot;f1a340&quot;,&quot;f7f7f7&quot;,&quot;998ec3&quot;},<br /> {&quot;e66101&quot;,&quot;fdb863&quot;,&quot;b2abd2&quot;,&quot;5e3c99&quot;},<br /> {&quot;e66101&quot;,&quot;fdb863&quot;,&quot;f7f7f7&quot;,&quot;b2abd2&quot;,&quot;5e3c99&quot;},<br /> {&quot;b35806&quot;,&quot;f1a340&quot;,&quot;fee0b6&quot;,&quot;d8daeb&quot;,&quot;998ec3&quot;,&quot;542788&quot;},<br /> {&quot;b35806&quot;,&quot;f1a340&quot;,&quot;fee0b6&quot;,&quot;f7f7f7&quot;,&quot;d8daeb&quot;,&quot;998ec3&quot;,&quot;542788&quot;},<br /> {&quot;b35806&quot;,&quot;e08214&quot;,&quot;fdb863&quot;,&quot;fee0b6&quot;,&quot;d8daeb&quot;,&quot;b2abd2&quot;,&quot;8073ac&quot;,&quot;542788&quot;},<br /> {&quot;b35806&quot;,&quot;e08214&quot;,&quot;fdb863&quot;,&quot;fee0b6&quot;,&quot;f7f7f7&quot;,&quot;d8daeb&quot;,&quot;b2abd2&quot;,&quot;8073ac&quot;,&quot;542788&quot;},<br /> {&quot;7f3b08&quot;,&quot;b35806&quot;,&quot;e08214&quot;,&quot;fdb863&quot;,&quot;fee0b6&quot;,&quot;d8daeb&quot;,&quot;b2abd2&quot;,&quot;8073ac&quot;,&quot;542788&quot;,&quot;2d004b&quot;},<br /> {&quot;7f3b08&quot;,&quot;b35806&quot;,&quot;e08214&quot;,&quot;fdb863&quot;,&quot;fee0b6&quot;,&quot;f7f7f7&quot;,&quot;d8daeb&quot;,&quot;b2abd2&quot;,&quot;8073ac&quot;,&quot;542788&quot;,&quot;2d004b&quot;},<br /> }<br /> local ColorBrBG = {<br /> {&quot;d8b365&quot;,&quot;f5f5f5&quot;,&quot;5ab4ac&quot;},<br /> {&quot;a6611a&quot;,&quot;dfc27d&quot;,&quot;80cdc1&quot;,&quot;018571&quot;},<br /> {&quot;a6611a&quot;,&quot;dfc27d&quot;,&quot;f5f5f5&quot;,&quot;80cdc1&quot;,&quot;018571&quot;},<br /> {&quot;8c510a&quot;,&quot;d8b365&quot;,&quot;f6e8c3&quot;,&quot;c7eae5&quot;,&quot;5ab4ac&quot;,&quot;01665e&quot;},<br /> {&quot;8c510a&quot;,&quot;d8b365&quot;,&quot;f6e8c3&quot;,&quot;f5f5f5&quot;,&quot;c7eae5&quot;,&quot;5ab4ac&quot;,&quot;01665e&quot;},<br /> {&quot;8c510a&quot;,&quot;bf812d&quot;,&quot;dfc27d&quot;,&quot;f6e8c3&quot;,&quot;c7eae5&quot;,&quot;80cdc1&quot;,&quot;35978f&quot;,&quot;01665e&quot;},<br /> {&quot;8c510a&quot;,&quot;bf812d&quot;,&quot;dfc27d&quot;,&quot;f6e8c3&quot;,&quot;f5f5f5&quot;,&quot;c7eae5&quot;,&quot;80cdc1&quot;,&quot;35978f&quot;,&quot;01665e&quot;},<br /> {&quot;543005&quot;,&quot;8c510a&quot;,&quot;bf812d&quot;,&quot;dfc27d&quot;,&quot;f6e8c3&quot;,&quot;c7eae5&quot;,&quot;80cdc1&quot;,&quot;35978f&quot;,&quot;01665e&quot;,&quot;003c30&quot;},<br /> {&quot;543005&quot;,&quot;8c510a&quot;,&quot;bf812d&quot;,&quot;dfc27d&quot;,&quot;f6e8c3&quot;,&quot;f5f5f5&quot;,&quot;c7eae5&quot;,&quot;80cdc1&quot;,&quot;35978f&quot;,&quot;01665e&quot;,&quot;003c30&quot;},<br /> }<br /> local ColorPRGn = {<br /> {&quot;af8dc3&quot;,&quot;f7f7f7&quot;,&quot;7fbf7b&quot;},<br /> {&quot;7b3294&quot;,&quot;c2a5cf&quot;,&quot;a6dba0&quot;,&quot;008837&quot;},<br /> {&quot;7b3294&quot;,&quot;c2a5cf&quot;,&quot;f7f7f7&quot;,&quot;a6dba0&quot;,&quot;008837&quot;},<br /> {&quot;762a83&quot;,&quot;af8dc3&quot;,&quot;e7d4e8&quot;,&quot;d9f0d3&quot;,&quot;7fbf7b&quot;,&quot;1b7837&quot;},<br /> {&quot;762a83&quot;,&quot;af8dc3&quot;,&quot;e7d4e8&quot;,&quot;f7f7f7&quot;,&quot;d9f0d3&quot;,&quot;7fbf7b&quot;,&quot;1b7837&quot;},<br /> {&quot;762a83&quot;,&quot;9970ab&quot;,&quot;c2a5cf&quot;,&quot;e7d4e8&quot;,&quot;d9f0d3&quot;,&quot;a6dba0&quot;,&quot;5aae61&quot;,&quot;1b7837&quot;},<br /> {&quot;762a83&quot;,&quot;9970ab&quot;,&quot;c2a5cf&quot;,&quot;e7d4e8&quot;,&quot;f7f7f7&quot;,&quot;d9f0d3&quot;,&quot;a6dba0&quot;,&quot;5aae61&quot;,&quot;1b7837&quot;},<br /> {&quot;40004b&quot;,&quot;762a83&quot;,&quot;9970ab&quot;,&quot;c2a5cf&quot;,&quot;e7d4e8&quot;,&quot;d9f0d3&quot;,&quot;a6dba0&quot;,&quot;5aae61&quot;,&quot;1b7837&quot;,&quot;00441b&quot;},<br /> {&quot;40004b&quot;,&quot;762a83&quot;,&quot;9970ab&quot;,&quot;c2a5cf&quot;,&quot;e7d4e8&quot;,&quot;f7f7f7&quot;,&quot;d9f0d3&quot;,&quot;a6dba0&quot;,&quot;5aae61&quot;,&quot;1b7837&quot;,&quot;00441b&quot;},<br /> }<br /> local ColorPiYG = {<br /> {&quot;e9a3c9&quot;,&quot;f7f7f7&quot;,&quot;a1d76a&quot;},<br /> {&quot;d01c8b&quot;,&quot;f1b6da&quot;,&quot;b8e186&quot;,&quot;4dac26&quot;},<br /> {&quot;d01c8b&quot;,&quot;f1b6da&quot;,&quot;f7f7f7&quot;,&quot;b8e186&quot;,&quot;4dac26&quot;},<br /> {&quot;c51b7d&quot;,&quot;e9a3c9&quot;,&quot;fde0ef&quot;,&quot;e6f5d0&quot;,&quot;a1d76a&quot;,&quot;4d9221&quot;},<br /> {&quot;c51b7d&quot;,&quot;e9a3c9&quot;,&quot;fde0ef&quot;,&quot;f7f7f7&quot;,&quot;e6f5d0&quot;,&quot;a1d76a&quot;,&quot;4d9221&quot;},<br /> {&quot;c51b7d&quot;,&quot;de77ae&quot;,&quot;f1b6da&quot;,&quot;fde0ef&quot;,&quot;e6f5d0&quot;,&quot;b8e186&quot;,&quot;7fbc41&quot;,&quot;4d9221&quot;},<br /> {&quot;c51b7d&quot;,&quot;de77ae&quot;,&quot;f1b6da&quot;,&quot;fde0ef&quot;,&quot;f7f7f7&quot;,&quot;e6f5d0&quot;,&quot;b8e186&quot;,&quot;7fbc41&quot;,&quot;4d9221&quot;},<br /> {&quot;8e0152&quot;,&quot;c51b7d&quot;,&quot;de77ae&quot;,&quot;f1b6da&quot;,&quot;fde0ef&quot;,&quot;e6f5d0&quot;,&quot;b8e186&quot;,&quot;7fbc41&quot;,&quot;4d9221&quot;,&quot;276419&quot;},<br /> {&quot;8e0152&quot;,&quot;c51b7d&quot;,&quot;de77ae&quot;,&quot;f1b6da&quot;,&quot;fde0ef&quot;,&quot;f7f7f7&quot;,&quot;e6f5d0&quot;,&quot;b8e186&quot;,&quot;7fbc41&quot;,&quot;4d9221&quot;,&quot;276419&quot;},<br /> }<br /> local ColorRdBu = {<br /> {&quot;ef8a62&quot;,&quot;f7f7f7&quot;,&quot;67a9cf&quot;},<br /> {&quot;ca0020&quot;,&quot;f4a582&quot;,&quot;92c5de&quot;,&quot;0571b0&quot;},<br /> {&quot;ca0020&quot;,&quot;f4a582&quot;,&quot;f7f7f7&quot;,&quot;92c5de&quot;,&quot;0571b0&quot;},<br /> {&quot;b2182b&quot;,&quot;ef8a62&quot;,&quot;fddbc7&quot;,&quot;d1e5f0&quot;,&quot;67a9cf&quot;,&quot;2166ac&quot;},<br /> {&quot;b2182b&quot;,&quot;ef8a62&quot;,&quot;fddbc7&quot;,&quot;f7f7f7&quot;,&quot;d1e5f0&quot;,&quot;67a9cf&quot;,&quot;2166ac&quot;},<br /> {&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;d1e5f0&quot;,&quot;92c5de&quot;,&quot;4393c3&quot;,&quot;2166ac&quot;},<br /> {&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;f7f7f7&quot;,&quot;d1e5f0&quot;,&quot;92c5de&quot;,&quot;4393c3&quot;,&quot;2166ac&quot;},<br /> {&quot;67001f&quot;,&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;d1e5f0&quot;,&quot;92c5de&quot;,&quot;4393c3&quot;,&quot;2166ac&quot;,&quot;053061&quot;},<br /> {&quot;67001f&quot;,&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;f7f7f7&quot;,&quot;d1e5f0&quot;,&quot;92c5de&quot;,&quot;4393c3&quot;,&quot;2166ac&quot;,&quot;053061&quot;},<br /> }<br /> local ColorRdGy = {<br /> {&quot;ef8a62&quot;,&quot;ffffff&quot;,&quot;999999&quot;},<br /> {&quot;ca0020&quot;,&quot;f4a582&quot;,&quot;bababa&quot;,&quot;404040&quot;},<br /> {&quot;ca0020&quot;,&quot;f4a582&quot;,&quot;ffffff&quot;,&quot;bababa&quot;,&quot;404040&quot;},<br /> {&quot;b2182b&quot;,&quot;ef8a62&quot;,&quot;fddbc7&quot;,&quot;e0e0e0&quot;,&quot;999999&quot;,&quot;4d4d4d&quot;},<br /> {&quot;b2182b&quot;,&quot;ef8a62&quot;,&quot;fddbc7&quot;,&quot;ffffff&quot;,&quot;e0e0e0&quot;,&quot;999999&quot;,&quot;4d4d4d&quot;},<br /> {&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;e0e0e0&quot;,&quot;bababa&quot;,&quot;878787&quot;,&quot;4d4d4d&quot;},<br /> {&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;ffffff&quot;,&quot;e0e0e0&quot;,&quot;bababa&quot;,&quot;878787&quot;,&quot;4d4d4d&quot;},<br /> {&quot;67001f&quot;,&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;e0e0e0&quot;,&quot;bababa&quot;,&quot;878787&quot;,&quot;4d4d4d&quot;,&quot;1a1a1a&quot;},<br /> {&quot;67001f&quot;,&quot;b2182b&quot;,&quot;d6604d&quot;,&quot;f4a582&quot;,&quot;fddbc7&quot;,&quot;ffffff&quot;,&quot;e0e0e0&quot;,&quot;bababa&quot;,&quot;878787&quot;,&quot;4d4d4d&quot;,&quot;1a1a1a&quot;},<br /> }<br /> local ColorRdYlBu = {<br /> {&quot;fc8d59&quot;,&quot;ffffbf&quot;,&quot;91bfdb&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;abd9e9&quot;,&quot;2c7bb6&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;ffffbf&quot;,&quot;abd9e9&quot;,&quot;2c7bb6&quot;},<br /> {&quot;d73027&quot;,&quot;fc8d59&quot;,&quot;fee090&quot;,&quot;e0f3f8&quot;,&quot;91bfdb&quot;,&quot;4575b4&quot;},<br /> {&quot;d73027&quot;,&quot;fc8d59&quot;,&quot;fee090&quot;,&quot;ffffbf&quot;,&quot;e0f3f8&quot;,&quot;91bfdb&quot;,&quot;4575b4&quot;},<br /> {&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee090&quot;,&quot;e0f3f8&quot;,&quot;abd9e9&quot;,&quot;74add1&quot;,&quot;4575b4&quot;},<br /> {&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee090&quot;,&quot;ffffbf&quot;,&quot;e0f3f8&quot;,&quot;abd9e9&quot;,&quot;74add1&quot;,&quot;4575b4&quot;},<br /> {&quot;a50026&quot;,&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee090&quot;,&quot;e0f3f8&quot;,&quot;abd9e9&quot;,&quot;74add1&quot;,&quot;4575b4&quot;,&quot;313695&quot;},<br /> {&quot;a50026&quot;,&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee090&quot;,&quot;ffffbf&quot;,&quot;e0f3f8&quot;,&quot;abd9e9&quot;,&quot;74add1&quot;,&quot;4575b4&quot;,&quot;313695&quot;},<br /> }<br /> local ColorSpectral = {<br /> {&quot;fc8d59&quot;,&quot;ffffbf&quot;,&quot;99d594&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;abdda4&quot;,&quot;2b83ba&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;ffffbf&quot;,&quot;abdda4&quot;,&quot;2b83ba&quot;},<br /> {&quot;d53e4f&quot;,&quot;fc8d59&quot;,&quot;fee08b&quot;,&quot;e6f598&quot;,&quot;99d594&quot;,&quot;3288bd&quot;},<br /> {&quot;d53e4f&quot;,&quot;fc8d59&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;e6f598&quot;,&quot;99d594&quot;,&quot;3288bd&quot;},<br /> {&quot;d53e4f&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;e6f598&quot;,&quot;abdda4&quot;,&quot;66c2a5&quot;,&quot;3288bd&quot;},<br /> {&quot;d53e4f&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;e6f598&quot;,&quot;abdda4&quot;,&quot;66c2a5&quot;,&quot;3288bd&quot;},<br /> {&quot;9e0142&quot;,&quot;d53e4f&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;e6f598&quot;,&quot;abdda4&quot;,&quot;66c2a5&quot;,&quot;3288bd&quot;,&quot;5e4fa2&quot;},<br /> {&quot;9e0142&quot;,&quot;d53e4f&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;e6f598&quot;,&quot;abdda4&quot;,&quot;66c2a5&quot;,&quot;3288bd&quot;,&quot;5e4fa2&quot;},<br /> }<br /> local ColorRdYlGn = {<br /> {&quot;fc8d59&quot;,&quot;ffffbf&quot;,&quot;91cf60&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;a6d96a&quot;,&quot;1a9641&quot;},<br /> {&quot;d7191c&quot;,&quot;fdae61&quot;,&quot;ffffbf&quot;,&quot;a6d96a&quot;,&quot;1a9641&quot;},<br /> {&quot;d73027&quot;,&quot;fc8d59&quot;,&quot;fee08b&quot;,&quot;d9ef8b&quot;,&quot;91cf60&quot;,&quot;1a9850&quot;},<br /> {&quot;d73027&quot;,&quot;fc8d59&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;d9ef8b&quot;,&quot;91cf60&quot;,&quot;1a9850&quot;},<br /> {&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;d9ef8b&quot;,&quot;a6d96a&quot;,&quot;66bd63&quot;,&quot;1a9850&quot;},<br /> {&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;d9ef8b&quot;,&quot;a6d96a&quot;,&quot;66bd63&quot;,&quot;1a9850&quot;},<br /> {&quot;a50026&quot;,&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;d9ef8b&quot;,&quot;a6d96a&quot;,&quot;66bd63&quot;,&quot;1a9850&quot;,&quot;006837&quot;},<br /> {&quot;a50026&quot;,&quot;d73027&quot;,&quot;f46d43&quot;,&quot;fdae61&quot;,&quot;fee08b&quot;,&quot;ffffbf&quot;,&quot;d9ef8b&quot;,&quot;a6d96a&quot;,&quot;66bd63&quot;,&quot;1a9850&quot;,&quot;006837&quot;},<br /> }<br /> local ColorAccent = {<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;},<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;,&quot;ffff99&quot;},<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;,&quot;ffff99&quot;,&quot;386cb0&quot;},<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;,&quot;ffff99&quot;,&quot;386cb0&quot;,&quot;f0027f&quot;},<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;,&quot;ffff99&quot;,&quot;386cb0&quot;,&quot;f0027f&quot;,&quot;bf5b17&quot;},<br /> {&quot;7fc97f&quot;,&quot;beaed4&quot;,&quot;fdc086&quot;,&quot;ffff99&quot;,&quot;386cb0&quot;,&quot;f0027f&quot;,&quot;bf5b17&quot;,&quot;666666&quot;},<br /> }<br /> local ColorDark2 = {<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;},<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;,&quot;e7298a&quot;},<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;,&quot;e7298a&quot;,&quot;66a61e&quot;},<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;,&quot;e7298a&quot;,&quot;66a61e&quot;,&quot;e6ab02&quot;},<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;,&quot;e7298a&quot;,&quot;66a61e&quot;,&quot;e6ab02&quot;,&quot;a6761d&quot;},<br /> {&quot;1b9e77&quot;,&quot;d95f02&quot;,&quot;7570b3&quot;,&quot;e7298a&quot;,&quot;66a61e&quot;,&quot;e6ab02&quot;,&quot;a6761d&quot;,&quot;666666&quot;},<br /> }<br /> local ColorPaired = {<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;,&quot;ff7f00&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;,&quot;ff7f00&quot;,&quot;cab2d6&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;,&quot;ff7f00&quot;,&quot;cab2d6&quot;,&quot;6a3d9a&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;,&quot;ff7f00&quot;,&quot;cab2d6&quot;,&quot;6a3d9a&quot;,&quot;ffff99&quot;},<br /> {&quot;a6cee3&quot;,&quot;1f78b4&quot;,&quot;b2df8a&quot;,&quot;33a02c&quot;,&quot;fb9a99&quot;,&quot;e31a1c&quot;,&quot;fdbf6f&quot;,&quot;ff7f00&quot;,&quot;cab2d6&quot;,&quot;6a3d9a&quot;,&quot;ffff99&quot;,&quot;b15928&quot;},<br /> }<br /> local ColorPastel1 = {<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;,&quot;fed9a6&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;,&quot;fed9a6&quot;,&quot;ffffcc&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;,&quot;fed9a6&quot;,&quot;ffffcc&quot;,&quot;e5d8bd&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;,&quot;fed9a6&quot;,&quot;ffffcc&quot;,&quot;e5d8bd&quot;,&quot;fddaec&quot;},<br /> {&quot;fbb4ae&quot;,&quot;b3cde3&quot;,&quot;ccebc5&quot;,&quot;decbe4&quot;,&quot;fed9a6&quot;,&quot;ffffcc&quot;,&quot;e5d8bd&quot;,&quot;fddaec&quot;,&quot;f2f2f2&quot;},<br /> }<br /> local ColorPastel2 = {<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;},<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;,&quot;f4cae4&quot;},<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;,&quot;f4cae4&quot;,&quot;e6f5c9&quot;},<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;,&quot;f4cae4&quot;,&quot;e6f5c9&quot;,&quot;fff2ae&quot;},<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;,&quot;f4cae4&quot;,&quot;e6f5c9&quot;,&quot;fff2ae&quot;,&quot;f1e2cc&quot;},<br /> {&quot;b3e2cd&quot;,&quot;fdcdac&quot;,&quot;cbd5e8&quot;,&quot;f4cae4&quot;,&quot;e6f5c9&quot;,&quot;fff2ae&quot;,&quot;f1e2cc&quot;,&quot;cccccc&quot;},<br /> }<br /> local ColorSet1 = {<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;,&quot;ff7f00&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;,&quot;ff7f00&quot;,&quot;ffff33&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;,&quot;ff7f00&quot;,&quot;ffff33&quot;,&quot;a65628&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;,&quot;ff7f00&quot;,&quot;ffff33&quot;,&quot;a65628&quot;,&quot;f781bf&quot;},<br /> {&quot;e41a1c&quot;,&quot;377eb8&quot;,&quot;4daf4a&quot;,&quot;984ea3&quot;,&quot;ff7f00&quot;,&quot;ffff33&quot;,&quot;a65628&quot;,&quot;f781bf&quot;,&quot;999999&quot;},<br /> }<br /> local ColorSet2 = {<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;},<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;,&quot;e78ac3&quot;},<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;,&quot;e78ac3&quot;,&quot;a6d854&quot;},<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;,&quot;e78ac3&quot;,&quot;a6d854&quot;,&quot;ffd92f&quot;},<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;,&quot;e78ac3&quot;,&quot;a6d854&quot;,&quot;ffd92f&quot;,&quot;e5c494&quot;},<br /> {&quot;66c2a5&quot;,&quot;fc8d62&quot;,&quot;8da0cb&quot;,&quot;e78ac3&quot;,&quot;a6d854&quot;,&quot;ffd92f&quot;,&quot;e5c494&quot;,&quot;b3b3b3&quot;},<br /> }<br /> local ColorSet3 = {<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;,&quot;fccde5&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;,&quot;fccde5&quot;,&quot;d9d9d9&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;,&quot;fccde5&quot;,&quot;d9d9d9&quot;,&quot;bc80bd&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;,&quot;fccde5&quot;,&quot;d9d9d9&quot;,&quot;bc80bd&quot;,&quot;ccebc5&quot;},<br /> {&quot;8dd3c7&quot;,&quot;ffffb3&quot;,&quot;bebada&quot;,&quot;fb8072&quot;,&quot;80b1d3&quot;,&quot;fdb462&quot;,&quot;b3de69&quot;,&quot;fccde5&quot;,&quot;d9d9d9&quot;,&quot;bc80bd&quot;,&quot;ccebc5&quot;,&quot;ffed6f&quot;},<br /> }<br /> <br /> function p.GetColors(ColorName, IsInv, N, CallError)<br /> local ColorFound = {} <br /> function GetC(ColorSet)<br /> if (N &lt; 3) or (N &gt; (table.getn(ColorSet)+2)) then<br /> if CallError then<br /> error (I18nStr(RS_ColorNumInvalid,tostring(N)), 0)<br /> end <br /> elseif IsInv then<br /> for i=table.getn(ColorSet[N-2]), 1, -1 do<br /> table.insert (ColorFound, &#039;#&#039;..ColorSet[N-2][i])<br /> end <br /> else <br /> for i=1, table.getn(ColorSet[N-2]) do<br /> table.insert (ColorFound, &#039;#&#039;..ColorSet[N-2][i])<br /> end <br /> end <br /> end <br /> local ColorNameL = string.lower (ColorName)<br /> if ColorNameL == &#039;ylgn&#039; then GetC(ColorYlGn)<br /> elseif ColorNameL == &#039;ylgnbu&#039; then GetC(ColorYlGnBu)<br /> elseif ColorNameL == &#039;gnbu&#039; then GetC(ColorGnBu)<br /> elseif ColorNameL == &#039;bugn&#039; then GetC(ColorBuGn)<br /> elseif ColorNameL == &#039;pubugn&#039; then GetC(ColorPuBuGn)<br /> elseif ColorNameL == &#039;pubu&#039; then GetC(ColorPuBu)<br /> elseif ColorNameL == &#039;bupu&#039; then GetC(ColorBuPu)<br /> elseif ColorNameL == &#039;rdpu&#039; then GetC(ColorRdPu)<br /> elseif ColorNameL == &#039;purd&#039; then GetC(ColorPuRd)<br /> elseif ColorNameL == &#039;orrd&#039; then GetC(ColorOrRd)<br /> elseif ColorNameL == &#039;ylorrd&#039; then GetC(ColorYlOrRd)<br /> elseif ColorNameL == &#039;ylorbr&#039; then GetC(ColorYlOrBr)<br /> elseif ColorNameL == &#039;purples&#039; then GetC(ColorPurples)<br /> elseif ColorNameL == &#039;blues&#039; then GetC(ColorBlues)<br /> elseif ColorNameL == &#039;greens&#039; then GetC(ColorGreens)<br /> elseif ColorNameL == &#039;oranges&#039; then GetC(ColorOranges)<br /> elseif ColorNameL == &#039;reds&#039; then GetC(ColorReds)<br /> elseif ColorNameL == &#039;greys&#039; then GetC(ColorGreys)<br /> elseif ColorNameL == &#039;puor&#039; then GetC(ColorPuOr)<br /> elseif ColorNameL == &#039;brbg&#039; then GetC(ColorBrBG)<br /> elseif ColorNameL == &#039;prgn&#039; then GetC(ColorPRGn)<br /> elseif ColorNameL == &#039;piyg&#039; then GetC(ColorPiYG)<br /> elseif ColorNameL == &#039;rdbu&#039; then GetC(ColorRdBu)<br /> elseif ColorNameL == &#039;rdgy&#039; then GetC(ColorRdGy)<br /> elseif ColorNameL == &#039;rdylbu&#039; then GetC(ColorRdYlBu)<br /> elseif ColorNameL == &#039;spectral&#039; then GetC(ColorSpectral)<br /> elseif ColorNameL == &#039;rdylgn&#039; then GetC(ColorRdYlGn)<br /> elseif ColorNameL == &#039;accent&#039; then GetC(ColorAccent)<br /> elseif ColorNameL == &#039;dark2&#039; then GetC(ColorDark2)<br /> elseif ColorNameL == &#039;paired&#039; then GetC(ColorPaired)<br /> elseif ColorNameL == &#039;pastel1&#039; then GetC(ColorPastel1)<br /> elseif ColorNameL == &#039;pastel2&#039; then GetC(ColorPastel2)<br /> elseif ColorNameL == &#039;set1&#039; then GetC(ColorSet1)<br /> elseif ColorNameL == &#039;set2&#039; then GetC(ColorSet2)<br /> elseif ColorNameL == &#039;set3&#039; then GetC(ColorSet3)<br /> else<br /> if CallError then<br /> error (I18nStr (RS_ColorNameInvalid,ColorName), 0)<br /> end <br /> end<br /> return ColorFound<br /> end<br /> <br /> function p.ShowColors(frame)<br /> local args,Nargs = SA.GetArgs (frame)<br /> if Nargs &gt; 0 then<br /> local ColorName, IsInv = CFCM.ColorNameInv (args)<br /> local N = SA.RPosIntFromArgs (args, 2)<br /> local WriteColor = args[3] or &#039;&#039;<br /> local ColorFound = {}<br /> ColorFound = p.GetColors (ColorName, IsInv, N, true)<br /> local boxes = {}<br /> for i=1, table.getn(ColorFound) do<br /> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))<br /> end <br /> return table.concat(boxes, &quot; &quot;)<br /> end <br /> end<br /> <br /> function p.Legends(frame)<br /> local args,Nargs = SA.GetArgs (frame)<br /> if Nargs &gt; 0 then<br /> local ColorName, IsInv = CFCM.ColorNameInv (args)<br /> local N = SA.RPosIntFromArgs (args, 2)<br /> local NCols = SA.RPosIntFromArgs (args, 3, 1, 9)<br /> local ColorFound = {}<br /> local Labels = {}<br /> local NLabels = 0<br /> local IsTemplate = true<br /> ColorFound = p.GetColors (ColorName, IsInv, N, true)<br /> Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)<br /> return CFCM.LegendText (ColorFound, Labels, NLabels, NCols, IsTemplate, OutlineColor)<br /> end <br /> end <br /> <br /> return p</div> Jmarchn