Skip to content

Fill potentially missing arguments in facets #5634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

teunbrand
Copy link
Collaborator

This PR to the RC aims to fix an issue uncovered during reverse dependency checks.

Briefly, we introduced axes and axis.labels arguments in facet_grid() and facet_wrap().
Extensions likely do not have these arguments forwarded to the facet's parameters and may be missing, causing errors in the panel drawing stage.
This PR fills these parameters when they are absent, so that extensions continue to work.

@teunbrand teunbrand requested a review from thomasp85 January 8, 2024 14:56
@teunbrand teunbrand added this to the ggplot2 3.5.0 milestone Jan 8, 2024
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

LGTM

@teunbrand teunbrand merged commit c834279 into tidyverse:rc/3.5.0 Jan 12, 2024
@teunbrand teunbrand deleted the facet_backward_compatibility branch January 12, 2024 09:26
thomasp85 pushed a commit that referenced this pull request Feb 23, 2024
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.

2 participants