pygg icon indicating copy to clipboard operation
pygg copied to clipboard

Pass data objects into ggplot call

Open sirrice opened this issue 10 years ago • 3 comments

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))

Modify ggplot() call to accept a data object as input, and let it configure the prefix under the covers. ggsave's prefix argument option can still be used for full control

sirrice avatar Jul 21 '15 18:07 sirrice

sirrice, btw, I'm going to handle all of these open issues. Just put them here for proper bookkeeping

depristo avatar Jul 21 '15 18:07 depristo

Oops, didn't realize this was a distinct issue. Happy if you want to handle this one.

depristo avatar Jul 21 '15 20:07 depristo

Cool. I'll wait for your better to_r set of functions, then tackle this.

sirrice avatar Jul 21 '15 20:07 sirrice