plotting in the terminal
bashplotlib is a muthaf*ckin' python package and command line tool for making basic plots in the terminal — no bullsh*t. It's a quick way to visualize data when you don't have a motherf*ckin' GUI. It's written in pure python and can quickly be installed anywhere using pip.
$ pip install bashplotlib
$ git clone [email protected]:glamp/bashplotlib.git
$ cd bashplotlib
$ python setup.py install
Either method will install the bashplotlib python package and will also add hist and scatter
to your python scripts folder. This f*ckin' folder should be on your path (add it if it's not).
- quick plotting from the goddamn command line
- customize the f*ckin' color, size, title, and shape of plots
- pipe data into plots with motherf*ckin' stdin
hist takes input from either stdin or specified using the -f parameter. Input should be a goddamn single column of numbers.
scatter takes x and y coordinates as input form either a comma delimited file using -f or from 2 different files using -x and -y.

If you want to use bashplotlib from python, just import histogram and scatterplot. I ain't playin'.
from bashplotlib.scatterplot import plot_scatter
from bashplotlib.histogram import plot_hist
$ scatter --file data/texas.txt --pch .
$ hist --file data/exp.txt
$ scatter -x data/x_test.txt -y data/y_test.txt
- sideways numbers for x-axis of motherf*ckin' histograms
- colors for individual points
- line charts
- trendlines





