🌊 seaborn as a command line tool
pip install seaborn-command
seaborn <command> [options]
Basic usage
cat iris.tsv | seaborn pairplot --hue species
Input csv file
cat iris.csv | seaborn pairplot -H -d, --hue species
Save svg image to a file
cat iris.tsv | seaborn pairplot --hue species > result.svg
Show png image with ImageMagick
cat iris.tsv | seaborn pairplot --hue species --format png | display
- common options
-d
: delimiter (default tab)-t
: transpose--format
: output format of the image (default svg)
Setting alias
alias sns="seaborn"
viu command.
cat iris.tsv | seaborn pairplot --hue species --format png | viu -
Note:
- SVG images may not be displayed correctly.
- viu + kitty terminal will work even if you are accessing it via ssh.
- Try this command!
- Pull requests are welcome!
Do you need commit rights to my repository?
Do you want to get admin rights and take over the project?
If so, please feel free to contact @kojix2.
MIT