You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// same imports as in demo/index.jsvarsize=+process.argv[2];(function(ervy){varchars=['#','+','*','#','@','%'];varcolors=['red','green','yellow','blue','magenta','cyan','white'];varcommands={scatter: function(...args){vardata=args.map((x,i)=>{var[key,value,style]=x.split(':');if(style){if(style.length===1){style=ervy.fg(colors[i],style);}else{style=ervy.bg(style,size);}}else{style=chars[i];}returnvalue.split(';').map(x=>{return{key,value: x.split(',').map(x=>+x), style};});});data=[].concat.apply([],data);returnervy.scatter(data,{width: 15,legendGap: 18});}};console.log(commands.scatter('Foo:1,1;2,2;3,3;4,4;5,5;6,5;7,5;8,5:green','Bar:1,2;2,3;3,4;4,5;5,6;6,6;7,6;8,6:yellow','Baz:12,8;13,8;12,7;13,7:red','Quux:12,4;14,4:blue'));})({fg,scatter,bg});
Below is output of pixel size 2 and 1. I think that they should look the same but the width of the dots,
The text was updated successfully, but these errors were encountered:
I have testing code like this:
Below is output of pixel size 2 and 1. I think that they should look the same but the width of the dots,
The text was updated successfully, but these errors were encountered: