I'm plotting hourly data grouped by week number on the basis of this answer: https://stackoverflow.com/a/48196838/5235575
My example shows the first two weeks of 2016 starting with Monday 01-04-2016 00:00 and ending with Sunday 01-17-2016 23:00
How can I align the the major grid and the corresponding labels of the x-axis with the whiskers of the box plots?
ggplot(table, aes(x=as.Date(datetime_hour), y=count_hour, group=format(as.Date(datetime_hour),"%W"))) + geom_boxplot() + scale_x_date(date_breaks = "week", date_labels="%W") + labs(x = "week number")