Skip to content

Commit

Permalink
Merge branch 'prod' into add-real-time-stats
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson authored Dec 18, 2024
2 parents 9c175e6 + fc2354f commit a7f93c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wweval/R/ms_fig4.R
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ get_plot_rel_crps_heatmap <- function(scores,
high = "red", mid = "white", low = "blue",
transform = "log2",
midpoint = 1,
guide = "colourbar", aesthetics = "fill"
guide = "colourbar", aesthetics = "fill",
labels = scales::number_format(accuracy = 0.01)
) +
geom_text(aes(
x = forecast_date, y = location,
Expand All @@ -274,6 +275,7 @@ get_plot_rel_crps_heatmap <- function(scores,
x_axis_dates = TRUE,
y_axis_text_size = 4
) +
theme(legend.text = element_text(size = 6)) +
scale_x_date(
date_breaks = "1 week",
labels = scales::date_format("%Y-%m-%d")
Expand Down

0 comments on commit a7f93c8

Please sign in to comment.