I’m trying to do an example at GitHub - JuliaPlots/StatsPlots.jl: Statistical plotting recipes for Plots.jl on how to use corrplot
:
M = randn(1000,4)
M[:,2] .+= 0.8sqrt.(abs.(M[:,1])) .- 0.5M[:,3] .+ 5
M[:,3] .-= 0.7M[:,1].^2 .+ 2
corrplot(M, label = ["x$i" for i=1:4])
Instead of getting a nice plot, I get an error message:
MethodError: no method matching get_colorscheme(::RGBA{Float64})
Closest candidates are:
get_colorscheme(::PlotUtils.AbstractColorList) at C:\Users\User_name\.julia\packages\PlotUtils\es5pb\src\colorschemes.jl:4
get_colorscheme(::AbstractVector{var"#s45"} where var"#s45"<:Colorant) at C:\Users\User_name\.julia\packages\PlotUtils\es5pb\src\colorschemes.jl:298
get_colorscheme(::AbstractVector{T} where T) at C:\Users\User_name\.julia\packages\PlotUtils\es5pb\src\colorschemes.jl:299
...
What is wrong?