Skip to content

Commit b6a254e

Browse files
missed a hue
1 parent 7e253a9 commit b6a254e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/paths.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ ggdag_paths_fan <- function(.tdy_dag, from = NULL, to = NULL, adjust_for = NULL,
173173
) +
174174
ggplot2::scale_alpha_manual(drop = FALSE, values = c("open path" = 1), na.value = .35, breaks = "open path", limits = "open path") +
175175
ggraph::scale_edge_alpha_manual(drop = FALSE, values = c("open path" = 1), na.value = .15, breaks = "open path", guide = "none", limits = "open path") +
176-
ggraph::scale_edge_colour_hue(name = "open path", drop = FALSE) +
176+
ggraph::scale_edge_colour_discrete(name = "open path", drop = FALSE) +
177177
ggplot2::scale_color_discrete(drop = FALSE, breaks = "open path") +
178178
expand_plot(
179179
expand_x = expansion(c(0.25, 0.25)),

0 commit comments

Comments
 (0)