Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`geom_col` mishandles x-axis `Date` with decimals #3873
Comments
|
This is potentially a fallout from the bidirectional geom detection. We will look into a fix |
|
Hello, this issue should not have been closed. It is still alive and kicking with ggplot2 3.3.1: library(ggplot2)
x <- data.frame(date = Sys.Date() + 1:10, y = 1:10)
## This works
ggplot(x) + geom_col(aes(x = date, y = y))ggplot(x) + geom_col(aes(date + 0.5, y = y))Created on 2020-06-06 by the reprex package (v0.3.0) |
|
You need to wait for 3.3.2. |
|
Can this issue be re-opened? |
|
No, because it is already fixed in master |


geom_coldoes not handleDateon the x-axis when these contain decimals. Note that the input is still a validDateobject. This currently breaksincidence::plot.incidenceas reported in this issue.Created on 2020-03-09 by the reprex package (v0.3.0)