Skip to content

Commit

Permalink
Merge pull request #64 from GSK-Biostatistics/plot-edits
Browse files Browse the repository at this point in the history
restore alpha to density plots
  • Loading branch information
statasaurus authored Oct 24, 2024
2 parents 42b2855 + 219429d commit 4b81931
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ plot_dist <- function(...){

}

ggplot(data.frame(), aes(xdist = input, fill = Distributions)) +
stat_slab(alpha=fill_alpha) +
stat_slab(slab_color="black", show.legend = FALSE) +
ggplot(data.frame(), aes(xdist = input)) +
stat_slab(aes(fill = Distributions), alpha=fill_alpha) +
stat_slab(fill = NA, slab_color="black", show.legend = FALSE) +
labs(y = "Density", x = "") +
scale_fill_manual(values = colors) +
theme_bw()
Expand Down

0 comments on commit 4b81931

Please sign in to comment.