Skip to content

Commit 189b15f

Browse files
committed
improve colors
1 parent 00c7e87 commit 189b15f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/plot_sankey.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ plot_sankey <- function(data,
4747
ggplot2::ylab(glue::glue("Financial exposure (in {currency})")) +
4848
ggalluvial::geom_alluvium(ggplot2::aes(fill = .data[["stratum"]])) +
4949
ggplot2::scale_fill_manual(
50-
values = c("Aligned" = "green4", "Not aligned" = "red3", "Unknown" = "gray40")
50+
values = c("Aligned" = "green4", "Not aligned" = "red3", "Unknown" = "gray30")
5151
) +
52-
ggalluvial::geom_stratum(fill = "gray85", color = "gray50") +
52+
ggalluvial::geom_stratum(fill = "gray90", color = "gray50") +
5353
ggrepel::geom_text_repel(
5454
ggplot2::aes(label = ggplot2::after_stat(stratum)),
5555
stat = ggalluvial::StatStratum, size = 4, direction = "y", nudge_x = .3

0 commit comments

Comments
 (0)