JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Interact + StatsPlots #356

Open tbeason opened 4 years ago

tbeason commented 4 years ago

I posted this question on discourse and it got no love. https://discourse.julialang.org/t/interact-statsplots/35599

I'm just confused why Plots works and StatsPlots (which reexports Plots) does not.

using Interact, Distributions, StatsPlots
@manipulate for α in 1:100, β = 1:100
    plot(x -> pdf(Beta(α, β), x), 0, 1)
end

vs

using Interact, Distributions, Plots
@manipulate for α in 1:100, β = 1:100
    plot(x -> pdf(Beta(α, β), x), 0, 1)
end