Skip to content

Commit 4a4e176

Browse files
committed
Also override alpha in legend keys for low-alpha freqpoly plots
1 parent 546f608 commit 4a4e176

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

R/ppc-distributions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ ppc_freqpoly <-
468468
) +
469469
scale_fill_ppc() +
470470
scale_color_ppc() +
471-
guides(fill = guide_legend(override.aes = list(color = NA))) +
471+
guides(fill = guide_legend(override.aes = list(color = NA, alpha = 1))) +
472472
facet_wrap_parsed("rep_label") +
473473
bayesplot_theme_get() +
474474
force_axes_in_facets() +

tests/testthat/_snaps/ppc-distributions/ppc-freqpoly-alpha-binwidth-size.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)