File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,10 @@ mcmc_dens <- function(
156
156
facet_args = facet_args ,
157
157
by_chain = FALSE ,
158
158
trim = trim ,
159
- bw = NULL ,
160
- adjust = NULL ,
161
- kernel = NULL ,
162
- n_dens = NULL ,
159
+ bw = bw ,
160
+ adjust = adjust ,
161
+ kernel = kernel ,
162
+ n_dens = n_dens ,
163
163
...
164
164
)
165
165
}
@@ -445,7 +445,7 @@ mcmc_violin <- function(
445
445
446
446
geom <- match.arg(geom )
447
447
violin <- geom == " violin"
448
- geom_fun <- if (by_chain ) " stat_density" else paste0( " geom_ " , geom )
448
+ geom_fun <- if (! violin ) " stat_density" else " geom_violin "
449
449
450
450
if (by_chain || violin ) {
451
451
if (! has_multiple_chains(x )) {
@@ -519,3 +519,4 @@ mcmc_violin <- function(
519
519
yaxis_title(on = n_param == 1 && violin ) +
520
520
xaxis_title(on = n_param == 1 )
521
521
}
522
+
You can’t perform that action at this time.
0 commit comments