Skip to content

Commit 5555083

Browse files
authored
Merge pull request #239 from stan-dev/mcmc_parcoord-expand_limits
mcmc-parcoord: expand x-axis to avoid cutting off label
2 parents 97b65be + 437d1e9 commit 5555083

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.25) +
157158
labs(x = NULL, y = NULL)
158159
}
159160

0 commit comments

Comments
 (0)