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

some problem in simultaneously add x and y breaks #65

Open
taoliu111 opened this issue Jan 12, 2024 · 1 comment
Open

some problem in simultaneously add x and y breaks #65

taoliu111 opened this issue Jan 12, 2024 · 1 comment

Comments

@taoliu111
Copy link

There are some problem when i want to simultaneous break x axis and y axis.
Some bug information couble be seen.

followed by an example:
data <- data.frame(
x = c(1, 2, 3, 4, 500),
y = c(10, 20, 30, 40, 1000))
ggplot(data, aes(x, y)) +
geom_point() +
scale_x_break(breaks = c(5,450)) +
scale_y_break(breaks = c(50,950))


Error in error_cnd():
! Conditions must have named data fields**

**

@dariotommasini
Copy link

I also get this error. It would be nice to have breaks on both axes!

Error in `error_cnd()`:
! Conditions must have named data fields
Run `rlang::last_trace()` to see where the error occurred.
Called from: signal_abort(cnd, .file)

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

2 participants