Skip to content

Commit

Permalink
update SVGs (and fix a few legends affected by ggplot update)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Jun 24, 2024
1 parent a2f7f63 commit d547ba3
Show file tree
Hide file tree
Showing 83 changed files with 14,111 additions and 14,218 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Suggests:
survival,
testthat (>= 2.0.0),
vdiffr (>= 1.0.2)
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
VignetteBuilder: knitr
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
4 changes: 1 addition & 3 deletions R/ppc-distributions.R
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ ppc_violin_grouped <-
args_violin_y <- list(
data = function(x) dplyr::filter(x, .data$is_y),
aes(fill = "y", color = "y"),
show.legend = FALSE,
alpha = 0
)

Expand All @@ -561,8 +560,7 @@ ppc_violin_grouped <-
alpha = y_alpha,
size = y_size,
width = y_jitter,
height = 0,
show.legend = FALSE
height = 0
)

violin_y_func <- if (y_violin) geom_violin else geom_ignore
Expand Down
2 changes: 1 addition & 1 deletion R/ppc-test-statistics.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ ppc_stat_freqpoly <-
geom_vline(
data = dplyr::filter(data, .data$variable == "y"),
mapping = aes(xintercept = .data$value, color = "y"),
show.legend = FALSE,
show.legend = TRUE,
linewidth = 1
) +
scale_color_ppc(
Expand Down
60 changes: 30 additions & 30 deletions tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 27 additions & 27 deletions tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-binwidth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d547ba3

Please sign in to comment.