[{"data":1,"prerenderedAt":252},["ShallowReactive",2],{"project-13700512":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":37,"post_text":40,"what":41,"said":58,"maker_in_thread":127,"shape":132,"grid":136,"attempts":207,"same_week":215,"maker_shows":30,"maker_hidden":244,"reader_version":245,"card":246},"13700512","itermplot","Plot directly in your terminal with matplotlib","title","Show HN: Plot directly in your terminal with matplotlib","https:\u002F\u002Fgithub.com\u002Fdaleroberts\u002Fitermplot","github.com","daleroberts",1487714834,2017,160,28,236,2242,11,"notable","dev_tools","terminal plotting","library",[24,21,25,26],"matplotlib","iterm2","inline images","curious",0.188,{"positive":30,"neutral":31,"mixed":32,"critical":33},2,4,0,1,7,{"idea":36},{"positive":30,"critical":33},[38,32,38,32,32,33,38,32,32,32,32,32,32,32,32,32,32,32,32,32,39,32,32,39,32,38,32,32],3,5,null,{"problem":40,"audience":40,"pricing":40,"motivation":40,"time_to_build":40,"stack":42,"openness":56,"stage":57,"team_size":57},[43,53],{"value":44,"source":45,"evidence":46},"Python","inferred",[47,49],{"id":48},"post",{"id":50,"by":51,"text":52},"13700849","jpeanuts","Gnuplot has an output mode - called \"dumb\" - that prints an ASCII plot to the terminal. See e.g. http:\u002F\u002Fpastebin.com\u002FWHcLZHPr This is very handy when running scientific codes on…",{"value":24,"source":45,"evidence":54},[55],{"id":48},"open_source","unknown",{"praise":59,"objections":72,"requests":84,"questions":96,"alternatives":104},[60],{"value":61,"source":62,"evidence":63},"Commenters welcome a way to see matplotlib plots in a terminal","commenter",[64,68],{"id":65,"by":66,"text":67},"13701768","venachescu","You are literally making my dreams come true. Thank you!",{"id":69,"by":70,"text":71},"13701781","Lxr","Great idea, I was just thinking yesterday that something like this should exist. Matplotlob seems to like automatically switching windows every time you plot something, so…",[73,77],{"value":74,"source":62,"evidence":75},"Works only in iTerm2, not general terminals",[76],{"id":50,"by":51,"text":52},{"value":78,"source":62,"evidence":79},"Adds a dependency rather than using existing tools like gnuplot",[80],{"id":81,"by":82,"text":83},"13702666","dima55","Why wouldn't you use gnuplot? If you want a numpy interface, there's this: https:\u002F\u002Fgithub.com\u002Fdkogan\u002Fgnuplotlib",[85],{"value":86,"source":62,"evidence":87},"Support for Linux terminals",[88,92],{"id":89,"by":90,"text":91},"13700965","krick","God, I want something like iTerm2 for Linux.",{"id":93,"by":94,"text":95},"13702387","Adaptive","iTerm2 is nice, but Linux has a zillion terminal emulators. I'm running images inside of urxvt right now using w3m. https:\u002F\u002Ftwitter.com\u002Fethanschoonover\u002Fstatus\u002F834227566848286720",[97],{"value":98,"source":62,"evidence":99},"Is there a similar tool for R?",[100],{"id":101,"by":102,"text":103},"13702217","maddyboo","Any idea of how to do something like this for R?",[105,109,113,120],{"value":106,"source":62,"evidence":107},"gnuplot dumb terminal output",[108],{"id":50,"by":51,"text":52},{"value":110,"source":62,"evidence":111},"gnuplotlib",[112],{"id":81,"by":82,"text":83},{"value":114,"source":62,"evidence":115},"bashplotlib",[116],{"id":117,"by":118,"text":119},"13704828","JosephRedfern","It's not as complete as matplotlib, but there is an ASCII plotting library which has a (very) similar API to matplotlib called bashplotlib: https:\u002F\u002Fgithub.com\u002Fglamp\u002Fbashplotlib",{"value":121,"source":62,"evidence":122},"matplotlib sixel backend",[123],{"id":124,"by":125,"text":126},"13704689","throwanem","Matplotlib has a \"sixel\" backend, which can render images in any terminal supporting the necessary protocol. Might be worth investigation, if you run or can run a terminal with…",{"comments":33,"answered":32,"key":128},[129],{"id":130,"text":131},"13701363","You can checkout my other project https:\u002F\u002Fgithub.com\u002Fdaleroberts\u002Ftv which allows you to view images in any terminal supporting Unicode 9.0 fonts and true color. It uses GDAL for…",{"commenters":133,"max_depth":31,"maker_replies":33,"first_comment_mins":134,"lifespan_hours":135},25,36,26,[137,139,143,145,147,151,153,154,157,159,160,161,164,167,170,173,176,177,180,183,186,188,191,194,196,198,200,203],[50,32,38,138,51,32],"project\u002Fneutral\u002Fidea",[140,32,32,141,142,32],"13700878","commenter\u002Fneutral\u002Fnone","Y_Y",[144,32,38,138,51,32],"13701225",[130,32,32,146,11,33],"maker\u002Fneutral\u002Fnone",[148,32,32,149,150,32],"13702303","other\u002Fneutral\u002Fnone","jxy",[81,32,33,152,82,32],"project\u002Fcritical\u002Fidea",[124,32,38,138,125,32],[155,32,32,149,156,32],"13706011","staz",[158,32,32,149,125,32],"13707035",[117,32,32,149,118,32],[89,33,32,149,90,32],[162,33,32,149,163,32],"13701028","mcpherrinm",[165,33,32,149,166,32],"13701532","zer0t3ch",[168,33,32,149,169,32],"13702345","tavert",[171,33,32,149,172,32],"13701711","badosu",[174,33,32,149,175,32],"13703882","rafinha",[93,33,32,149,94,32],[178,33,32,149,179,32],"13702512","mmel",[181,33,32,149,182,32],"13705270","david-given",[184,33,32,149,185,32],"13705107","widdma",[65,30,39,187,66,32],"maker\u002Fpositive\u002Fidea",[189,30,32,141,190,32],"13710369","stestagg",[192,38,32,149,193,32],"13702742","wallstquant",[69,31,39,195,70,32],"project\u002Fpositive\u002Fidea",[197,31,32,149,70,32],"13703193",[101,39,38,199,102,32],"project\u002Fneutral\u002Fnone",[201,39,32,149,202,32],"13702529","em500",[204,205,32,149,206,32],"13703977",6,"curiousgal",[208,211,214],{"id":209,"t":210,"points":38,"comments":33},"13388420",1484282140,{"id":212,"t":213,"points":33,"comments":32},"13406648",1484517682,{"id":4,"t":12,"points":14,"comments":15},[216,221,226,230,234,239],{"id":217,"name":218,"points":219,"category":220},"13677748","WikiQuiz",388,"learning_science",{"id":222,"name":223,"points":224,"category":225},"13674890","Evilpass",367,"security_privacy",{"id":227,"name":228,"points":229,"category":220},"13667015","Ipyvolume",210,{"id":231,"name":232,"points":233,"category":20},"13695614","GraphQL Voyager",163,{"id":235,"name":236,"points":237,"category":238},"13676105","Clozemaster",145,"languages",{"id":240,"name":241,"points":242,"category":243},"13706772","Little Birdie",132,"productivity",false,"v2",{"id":247,"name":5,"line":6,"ai":244,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":248,"top":18,"kw":249,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":250,"url":9,"mix":251,"praise":61,"objection":74,"sub":21},13700512,0.19,[24,21,25,26],"3030013000000000000050050300",[30,31,32,33],1794036552879]