-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Incorrect scale expansion with log scales #1696
Comments
Here's a minimal reprex: df <- data.frame(x = c(1e1, 1e5), y = c(0, 100))
ggplot(df, aes(x, y)) +
geom_point(size = 5) +
scale_y_log10() The cause is left as an exercise for the reader 😉 |
Shouldn't scale_y_log10 throw an error, or is this by design? |
Something should probably throw a warning, but the placement of |
Maybe a general warning when plotting inf? |
I don't think that will work because it's used deliberately |
As a feature or a fallback? |
As a feature - i.e. if you want a |
I see. Than a broad mechanism for catching transformations that result in conversion to non-real numbers... |
Check for occurence of infinite values Fixes #1696
I haven't been able to make a super-minimal reproducible example, but here's one that uses real data:
Here's an attempt at a minimal example, but it doesn't reproduce the problem:
The text was updated successfully, but these errors were encountered: