Skip to content

kojix2/seaborn-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seaborn-command

PyPI Version CI

🌊 seaborn as a command line tool

seaborn

Installation

pip install seaborn-command

Usage

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)

Tips

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.

Contributing

  • 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.

License

MIT

About

seaborn as a command line tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published