You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove y-axis for plots where y-axis has no purpose #418
This would technically break visual backwards compatibility although wouldn't affect anyone's code. @avehtari pointed out that for some plots we have a y-axis that serves no purpose and the plots look better without it. For example, the new mcmc_dots() function doesn't include the y-axis for this reason, but functions like mcmc_dens() and others include the y-axis for no reason.
I've created PR #423 to address this issue. Since the previous PR appeared to be stalled, I've implemented the fix with the following changes:
Removed y-axis line from all density, histogram, dot, violin, and frequency polygon plots (13 functions total across mcmc_*, ppc_*, and ppd_* families)
Added theme(axis.line.y = element_blank()) following the pattern already used in mcmc_dots()
Activity
LokeshShukla910 commentedon Feb 7, 2026
I have pulled a commit request after solving the issue. Please review it and let me know if it need some changes
Remove y-axis line from density, histogram, and dot plots
utkarshpawade commentedon Feb 24, 2026
Hi @jgabry,
I've created PR #423 to address this issue. Since the previous PR appeared to be stalled, I've implemented the fix with the following changes:
mcmc_*,ppc_*, andppd_*families)theme(axis.line.y = element_blank())following the pattern already used inmcmc_dots()