teunbrand / ggh4x

ggplot extension: options for tailored facets, multiple colourscales and miscellaneous
https://teunbrand.github.io/ggh4x/
Other
542 stars 33 forks source link

TODO: nested facets nesting line as element #47

Closed teunbrand closed 2 years ago

teunbrand commented 3 years ago

Instead of doing the following:

ggplot(...) +
  geom_xyz(...) +
  facet_nested(
    x ~ y, nest_line = TRUE
  )

It would be nice if we can do this:

ggplot(...) +
  geom_xyz(...) +
  facet_nested(
    x ~ y, nest_line = element_line()
  )

Wherein the line element inherits from theme(ggh4x.facet.nestline).

teunbrand commented 2 years ago

Done: https://teunbrand.github.io/ggh4x/articles/Facets.html#nesting-lines-1