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:30AM
Women Pioneers at Muni: Adeline Svendsen and Muni’s First Newsletter By Jeremy Menzies To close out Women’s History Month, here’s a look back at one woman whose work to bring Muni staff together in the late 1940s created a legacy that lives on to this day. Adeline “Addy” Svendsen was founding editor of Muni’s first internal newsletter, “ Trolley Topics .” Adeline Svendsen sits at her desk in the Geneva Carhouse office building in this 1949 shot. Trolley Topics was a new venture when it started in February 1946. As Svendsen wrote in the first issue it was created, “to bring a little fun, a little news, and a lot of good will to all our fellow employees in the Railway.” Just two years prior in 1944, Muni merged with the Market Street Railway Company, expanding the small municipal operation into the largest transit provider in the city with hundreds of employees, vehicles of every shape and size, and dozens of facilities scattered across town. The newsletter was meant to help unite ...
Comments