Skip to content

Throw error with illigal combination of space in facet_grid and aspect.ratio in theme #4432

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
merged 3 commits into from
Apr 21, 2021

Conversation

thomasp85
Copy link
Member

Fix #3834

This PR adds a check for when aspect ratio has been set by the theme and free space is requested in facet_grid and throws an error

@thomasp85 thomasp85 added this to the ggplot2 3.3.4 milestone Apr 19, 2021
Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

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

Looks good other than this partial matching

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.

aspect ratio of plot not working with of space = "free" in facet_grid
2 participants