Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plotnine CLI

This is a small wrapper around the plotnine library for creating ggplots from the command line.

Installation

pip3 install .

Examples

Save as png:

p9 plot 'ggplot(mtcars, aes("wt", "mpg"))+ geom_point()' > cars.png

test

Display in terminal (kitty):

p9 plot 'ggplot(mtcars, aes("wt", "mpg"))+ geom_point()' | timg -p kitty -

CSV or JSON data from stdin:

cat data.csv | p9 plot -f - 'ggplot(df, ...)

About

Plot 9 CLI

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages