From 197130e7f0ac5df7c593aa10cd865aebbfcb6a39 Mon Sep 17 00:00:00 2001 From: dehann Date: Tue, 19 Apr 2022 21:08:54 -0700 Subject: [PATCH] bug fix --- src/KernelDensityEstimatePlotting.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KernelDensityEstimatePlotting.jl b/src/KernelDensityEstimatePlotting.jl index 9aedfc0..c4f89cc 100644 --- a/src/KernelDensityEstimatePlotting.jl +++ b/src/KernelDensityEstimatePlotting.jl @@ -352,7 +352,7 @@ getColorsByLength(len::Int=10) = Colors.distinguishable_colors(len, [RGB(1,1,1), # function to draw all pairs of mulitdimensional kernel density estimate # axis is matrix with rows as dimensions and two columns for min and max axis cutoffs function plotKDE(darr::Array{BallTreeDensity,1}; - c::NothingUnion{Vector{<:AbstractString}}=getColorsByLength(length(darr)), # nothing + c::NothingUnion{<:AbstractVector}=getColorsByLength(length(darr)), # nothing N::Int=200, rmax=-Inf,rmin=Inf, # should be deprecated axis::NothingUnion{Array{Float64,2}}=nothing,