Skip to content
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

Break points are not evenly spaced in two panels of scale_x_break() #66

Open
Aariq opened this issue Feb 9, 2024 · 0 comments
Open

Comments

@Aariq
Copy link

Aariq commented Feb 9, 2024

The break points where grid lines are drawn are not the same in the two panels of a plot with scale_x_break() and there is no way to set breaks manually because scale_x_break() doesn't pass arguments to scale_continuous and the breaks argument conflicts. Would something like scale_x_break(split = c(40, 80), breaks = list(c(10, 20, 30, 40), c(80, 90, 100))) maybe be possible? Or could the default behavior of scale = "fixed" to make sure the breakpoints are similarly spaced in all panels?

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

No branches or pull requests

1 participant