Create Matplotlib visualizations from the command-line
I do lots of data analyses in the command-line and I was missing a simple utility to plot the output of a command (without having to script it). I like very much the Matplotlib API but I found no CLI to pipe data into it. So, I wrote MatplotCLI, a simple CLI that reads data from the stdin and allows to easily create interactive plots from the command-line. Have a look at the README for examples and recipes. Let me know what you think, thanks! Some examples: $ plt "hist(x,30)" < sample.json $ cat sample.json | plt --no-show "hist(x,30); savefig('myimage.png')" $ plt --no-input " x =…
Create Matplotlib visualizations from the command-line launched on March 22, 2022 with 11 votes, #1,131 of 3,153 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 4 years on.
In plain words
MatplotCLI is a command-line tool that creates Matplotlib visualizations by reading data from standard input. It lets data analysts pipe command output directly into plots without writing scripts, using familiar Matplotlib syntax. The tool accepts JSON data and supports interactive plotting, image export, and NumPy operations. It's designed for users who work frequently in the terminal and want quick, scriptless visualization of their analyses.
written from the facts on this page · September 2026
From the sources
Create matplotlib visualizations from the command-line - dcmoura/matplotcli
In the maker’s words, at launch
I do lots of data analyses in the command-line and I was missing a simple utility to plot the output of a command (without having to script it). I like very much the Matplotlib API but I found no CLI to pipe data into it. So, I wrote MatplotCLI, a simple CLI that reads data from the stdin and allows to easily create…
Does a similar job
all alternatives →
Plot directly in your terminal with matplotlib2017 · github.com · ▲160An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal. - daleroberts/itermplot
Flexible command line tool to create graphs from CSV data2018 · github.com · ▲95Flexible command line tool to create graphs from CSV data - mcastorina/graph-cli
- MMMPLG – Matplotlib GUI, design plots visually and export as Python code2021 · everydayanchovies.github.io · ▲80

PlotAI – Create Plots in Python and Matplotlib with LLM2023 · github.com · ▲51PlotAI - Your Ultimate Plotting Assistant! 📊🤖 Use ChatGPT-3.5 to create plots in Python and Matplotlib directly in your Python script or notebook. - GitHub - mljar/plotai: PlotAI - Your Ultimate Plotting Assistant! 📊🤖 Use ChatGPT-3.5 to create plots in Python and Matplotlib directly in your Pyth
GNUplot with sixel – Mix images, ANSI colors and plots2019 · github.com · ▲110GNUplot with sixel support. Contribute to csdvrx/sixel-gnuplot development by creating an account on GitHub.
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲341Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 27d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2022
the whole month →- IM
Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!
Dev tools · 2022 · lessmilk.com
- IM
Life & fun · 2022 · networksfromscratch.com
- HA
Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2
Dev tools · 2022



How well do you know your area? Test your knowledge by locating streets on a map.
Work · 2022 · backofyourhand.com