Skip to content

Commit f9d146f

Browse files
committed
mcmc-parcoord: expand x-axis to avoid cutting off label
1 parent 52f1a9f commit f9d146f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/mcmc-parcoord.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ mcmc_parcoord <-
154154

155155
graph +
156156
scale_x_discrete(expand = c(0,0), labels = levels(draws$Parameter)) +
157+
expand_limits(x = nlevels(draws$Parameter) + 0.5) +
157158
labs(x = NULL, y = NULL)
158159
}
159160

0 commit comments

Comments
 (0)