-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Discrete scales cannot handle continuous values #3463
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
Comments
It seems the change was introduced by #3426. |
Lines 77 to 83 in 141c775
So, to fix this minimally, we can change the line 91 to Lines 85 to 97 in 141c775
|
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
It seems discrete scales cannot handle continuous values with the current master (the CRAN version works).
When I ran tests on my local, I saw some warnings around here:
ggplot2/tests/testthat/test-scale-discrete.R
Lines 51 to 61 in 141c775
For a simple example:
Created on 2019-07-30 by the reprex package (v0.3.0)
Session info
The text was updated successfully, but these errors were encountered: