Skip to content

Commit

Permalink
fix plot_kde
Browse files Browse the repository at this point in the history
  • Loading branch information
marius311 committed Mar 1, 2021
1 parent 466bd7e commit 9b961e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,5 @@ underlying call to `plot`.
"""
function plot_kde(samples; boundary=(nothing,nothing), normalize="integral", kwargs...)
k = kde(samples; boundary, normalize)
plot(k.x, k.P; kwargs...)
plot(k.kde.x, k.kde.P; kwargs...)
end

0 comments on commit 9b961e0

Please sign in to comment.