has2k1 / plotnine

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

Additions to facets #717

Open tabedzki opened 10 months ago

tabedzki commented 10 months 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 10 months 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 10 months ago

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