has2k1 / plotnine

A Grammar of Graphics for Python
https://plotnine.org
MIT License
4.07k stars 225 forks source link

Additions to facets #717

Open tabedzki opened 1 year ago

tabedzki commented 1 year ago

Hi there, I think a useful addition to the formatting of facets would be the inclusion of nested_facets. I don't know how had it would be implement, though there is an equivalent function in some of the ggplot extension packages which makes me hopeful that this might be an inclusion that's defined.

edit: Github link and the specific functions for nested_facet and nested_facet_wrap

image

has2k1 commented 1 year ago

plotnine and ggplot2 have different drawing backends and for plotnine, this is not so easy to achieve. I will keep it in mind, most likely to make it easy for an extension library to implement it, but priority is low.

tabedzki commented 1 year ago

Ahh okay. I understand. Thank you for all your work on this.