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
Was hoping to overlay multiple distributions, but got this error instead. Maybe it is intentionally unsupported, but should probably be a better error if so?
x = randn(1024)
y = randn(1024)
plot()
StatsPlots.marginalkde!(x, x + y)
BoundsError: attempt to access 1-element Vector{Plots.Subplot} at index [2]
getindex(::Vector{Plots.Subplot}, ::Int64)@array.jl:924
_subplot_setup(::Plots.Plot{Plots.GRBackend}, ::Dict{Symbol, Any}, ::Vector{Dict{Symbol, Any}})@pipeline.jl:241
plot_setup!(::Plots.Plot{Plots.GRBackend}, ::Dict{Symbol, Any}, ::Vector{Dict{Symbol, Any}})@pipeline.jl:149
recipe_pipeline!(::Any, ::Any, ::Any)@RecipesPipeline.jl:87
_plot!(::Plots.Plot, ::Any, ::Any)@plot.jl:208
#plot!#[email protected]:198[inlined]
plot!(::Plots.Plot, ::Any)@plot.jl:193
var"#plot!#148"(::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}}, ::typeof(RecipesBase.plot!), ::Any)@plot.jl:188
[email protected]:180[inlined]
#marginalkde!#[email protected]:365[inlined]
marginalkde!(::Vector{Float64}, ::Vector{Float64})@RecipesBase.jl:365
The text was updated successfully, but these errors were encountered:
BioTurboNick
changed the title
marginalkde! results in marginalkde! results in error
Jun 23, 2022
Was hoping to overlay multiple distributions, but got this error instead. Maybe it is intentionally unsupported, but should probably be a better error if so?
The text was updated successfully, but these errors were encountered: