Skip to content

Make sure axes are added correctly to facet_wrap in all circumstances#4673

Merged
thomasp85 merged 5 commits into
mainfrom
issue-4553-facet-wrap-axes
Nov 24, 2021
Merged

Make sure axes are added correctly to facet_wrap in all circumstances#4673
thomasp85 merged 5 commits into
mainfrom
issue-4553-facet-wrap-axes

Conversation

@thomasp85

Copy link
Copy Markdown
Member

Fix #4553

The new-ish feature of adding back axes when the facet_wrap() grid was not complete was not tailored for all settings of as.table and dir

This is a reimplementation that doesn't make any assumptions about how the grid can or will be filled out

@yutannihilation yutannihilation left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but the problem is the case when as.table = FALSE, right...?

Comment thread NEWS.md Outdated
Comment thread tests/testthat/test-facet-layout.r Outdated
Comment thread tests/testthat/test-facet-layout.r Outdated
@thomasp85 thomasp85 merged commit bd50a55 into main Nov 24, 2021
@thomasp85 thomasp85 deleted the issue-4553-facet-wrap-axes branch November 24, 2021 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

X-axis placement with facet_wrap(.., dir = "v", as.table = FALSE)

2 participants