Right now to_r doesn't understand basic python types like lists and dictionaries and it would be more nature to use those data structures when invoking ggplot via pygg in some function calls. to_r should be generalized to recursively convert common python data structures to reasonable R equivalents.
For example, right you can you have to say:
p += pygg.scale_y_continuous(limits="c(0, 1)")
but it would be more natural to be able to say this as:
Right now to_r doesn't understand basic python types like lists and dictionaries and it would be more nature to use those data structures when invoking ggplot via pygg in some function calls. to_r should be generalized to recursively convert common python data structures to reasonable R equivalents.
For example, right you can you have to say:
but it would be more natural to be able to say this as: