Skip to content

Commit

Permalink
fix forwarding of show_intercept
Browse files Browse the repository at this point in the history
  • Loading branch information
palday authored May 28, 2024
1 parent 0ec7767 commit 84ca08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coefplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The mutating methods return the original object.
function coefplot(x::Union{MixedModel,MixedModelBootstrap}; show_intercept=true, kwargs...)
# need to guarantee a min height of 150
fig = Figure(; size=(640, max(150, 75 * _npreds(x; show_intercept))))
coefplot!(fig, x; kwargs...)
coefplot!(fig, x; show_intercept, kwargs...)
return fig
end

Expand Down

0 comments on commit 84ca08e

Please sign in to comment.