Growing India News, world news, nation news, our news, people's news, grow news, entertainment, fashion, movies, tech, automobile and many more..
Wednesday, March 23, 2022
Show HN: Create Matplotlib visualizations from the command-line https://ift.tt/iCU3HcJ
Show HN: 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 = np.linspace(-1,1,2000); y = x*np.sin(1/x); plot(x,y); axis('scaled'); grid(True)" $ echo ' {"a":0, "b":1} {"a":1, "b":0} {"a":3, "b":3}' | plt "plot(a,b)" https://github.com/dcmoura/matplotcli March 23, 2022 at 01:00AM
Subscribe to:
Post Comments (Atom)
Show HN: Nocturne – Your Car Thing's Second Chapter https://ift.tt/Xf2ojAy
Show HN: Nocturne – Your Car Thing's Second Chapter Hello HN! Recently, we have released Nocturne 3.0.0, which is a complete replacement...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Breaking #FoxNews Alert : Number of dead rises after devastating tornadoes, Kentucky governor announces — R Karthickeyan (@RKarthickeyan1)...
-
Show HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data https://ift.tt/yrqHZtDShow HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data Hey HN, I built this tool because I wanted to understand which...
No comments:
Post a Comment