Skip to content

Commit 9b2fa26

Browse files
committed
remove y-axis line from mcmc_dots and mcmc_dots_by_chain
1 parent 0fa1504 commit 9b2fa26

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

R/mcmc-distributions.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ mcmc_dots_by_chain <- function(
689689
}
690690
graph <- graph +
691691
do.call("facet_grid", facet_args) +
692-
force_axes_in_facets()
692+
force_x_axis_in_facets()
693693
}
694694

695695
if (n_param == 1) {
@@ -702,5 +702,6 @@ mcmc_dots_by_chain <- function(
702702
yaxis_text(FALSE) +
703703
yaxis_title(FALSE) +
704704
yaxis_ticks(FALSE) +
705+
theme(axis.line.y = element_blank()) +
705706
xaxis_title(on = n_param == 1)
706707
}

tests/testthat/_snaps/mcmc-distributions/mcmc-dots-by-chain-default.svg

Lines changed: 0 additions & 12 deletions
Loading

tests/testthat/_snaps/mcmc-distributions/mcmc-dots-default.svg

Lines changed: 0 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)