Skip to content

Commit

Permalink
Update src/ridge.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
dmbates and github-actions[bot] authored Dec 19, 2023
1 parent c40a9e2 commit 3a25f96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ridge.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function ridgeplot(x::MixedModelBootstrap;
fig = Figure(; size=(640, max(200, 100 * _npreds(x; show_intercept))))
ax = Axis(fig[1, 1])
if !ismissing(conf_level)
pl = coefplot!(ax, x; conf_level, vline_at_zero, show_intercept, color=:black, attributes...)
pl = coefplot!(ax, x; conf_level, vline_at_zero, show_intercept, color=:black,
attributes...)
end
pl = ridgeplot!(ax, x; vline_at_zero, conf_level, show_intercept, attributes...)
return Makie.FigureAxisPlot(fig, ax, pl)
Expand Down

0 comments on commit 3a25f96

Please sign in to comment.