Skip to content

Commit

Permalink
Make sure scorecards plot lead time in the correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-MET committed Nov 15, 2023
1 parent 033d015 commit 36cbb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_scorecard.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ plot_scorecard <- function(
gg <- ggplot2::ggplot(
sc_data,
ggplot2::aes(
x = factor(.data[["lead_time"]]),
x = forcats::fct_inseq(factor(.data[["lead_time"]])),
y = forcats::fct_rev(forcats::fct_inorder(.data[["parameter"]])),
fill = .data[["class"]],
colour = .data[["class"]],
Expand Down

0 comments on commit 36cbb9d

Please sign in to comment.