Fix x-axis labels on two-month plot.

This commit is contained in:
mattbk 2024-04-07 10:35:13 -05:00
parent 2ee77a2e58
commit 6951769b72
2 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ ggplot(data = d_total %>% filter(Date >= Sys.Date() - months(2),
geom_point(size = 0.3) + geom_point(size = 0.3) +
scale_x_date(date_breaks = "7 days", scale_x_date(date_breaks = "7 days",
date_minor_breaks = "1 days", date_minor_breaks = "1 days",
date_labels = "%Y-%m-%d") + date_labels = "%m-%d") +
scale_y_continuous(labels = scales::comma) + scale_y_continuous(labels = scales::comma) +
theme_bw() + theme_bw() +
labs(title = paste0("US Amateur Licenses since ", Sys.Date() - months(2)), labs(title = paste0("US Amateur Licenses since ", Sys.Date() - months(2)),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 164 KiB