pygg
pygg copied to clipboard
ggplot2 syntax in python. Actually wrapper around Wickham's ggplot2 in R
Are there alternatives that do something similar for Networks? I can only find some for R. - https://briatte.github.io/ggnet/ - https://briatte.github.io/ggnetwork/ - https://ggraph.data-imaginist.com/
In this R script, there are two data: mean_wt and mtcars. However, current pygg only resolve one data and can not resolve the **mean_wt**. ``` mean_wt
Is there any progress on python 3 compatibility?
This is the resolution for #17. I had to change the way the module is imported. Now instead of `Rscript bin/make_ggplot2_functions.R >> pygg/pygg.py`, one would `Rscript bin/make_ggplot2_functions.R > pygg/ggplot2_functions.py` I...
I am not familiar with the Python-R bindings, but glancing over `pygg`'s codebase it seems fairly doable.
Maybe the R script can generate a standalone pygg_functions.py file that pygg.py can import *? That way don't need to copy and paste in the future
Current version of ggplot() takes a variable name as input, by default "data", and relies on ggsave()'s prefix argument to set the data object. ``` ggplot('data', aes(...)) + ggsave(..., prefix=data_py(dataobject))...