Module:Sandbox/Frietjes/political graph: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
Line 11:
local targs = {}
for k,v in pairs(args) do
if k:find('^y[%d]+Party$') then
local digit = string.match(k, '%d+')
local color = isnotempty(colors[tonumber(digit)]) and colors[tonumber(digit)] or pfetch({v, 'color'})