Skip to content

Commit

Permalink
Merge pull request #9 from JuliaRobotics/maintenance/2019Q2/general
Browse files Browse the repository at this point in the history
general maintenance
  • Loading branch information
dehann committed Jun 2, 2019
2 parents 76a6a9b + d2db0c4 commit aa85150
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/KernelDensityEstimatePlotting.jl
Expand Up @@ -39,7 +39,7 @@ end
# end

function plot(darr::Union{BallTreeDensity, Vector{BallTreeDensity}};
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
N::Int=200,
rmax=-Inf,rmin=Inf, # should be deprecated
axis::NothingUnion{Array{Float64,2}}=nothing,
Expand Down Expand Up @@ -106,7 +106,7 @@ function plotKDEContour(pp::Vector{BallTreeDensity};
xmin=-Inf,xmax=Inf,ymin=-Inf,ymax=Inf,
xlbl::T="x", ylbl::T="y",
N::Int=200,
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
legend=nothing,
title::NothingUnion{T}=nothing,
levels::NothingUnion{Int}=nothing,
Expand Down Expand Up @@ -175,7 +175,7 @@ function plotKDEContour(p::BallTreeDensity;
xmin=-Inf,xmax=Inf,ymin=-Inf,ymax=Inf,
xlbl::T="x", ylbl::T="y",
N::Int=200,
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
legend=nothing,
title::NothingUnion{T}=nothing,
levels::NothingUnion{Int}=nothing,
Expand All @@ -198,7 +198,7 @@ function drawPair(xx::Vector{BallTreeDensity}, dims::Vector{Int};
legend=nothing,
title::NothingUnion{T}=nothing,
levels::NothingUnion{Int}=nothing,
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
fill=false, layers::Bool=false ) where {T <: AbstractString}
# pts = getPoints(x);
xmin, xmax, ymin, ymax = -Inf,Inf,-Inf,Inf
Expand Down Expand Up @@ -236,7 +236,7 @@ function drawAllPairs(xx::Vector{BallTreeDensity};
legend=nothing,
title::NothingUnion{T}=nothing,
levels::NothingUnion{Int}=nothing,
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
fill=false, layers::Bool=false ) where {T <: AbstractString}

# pts = getPoints(xx[1]);
Expand Down Expand Up @@ -286,7 +286,7 @@ end
# 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{T}}=nothing,
c::NothingUnion{Vector}=nothing,
N::Int=200,
rmax=-Inf,rmin=Inf, # should be deprecated
axis::NothingUnion{Array{Float64,2}}=nothing,
Expand Down Expand Up @@ -342,7 +342,7 @@ end


function plotKDE(bd::BallTreeDensity;
c::NothingUnion{Vector{T}}=nothing,
c::NothingUnion{Vector}=nothing,
N::Int=200,
rmax=-Inf,rmin=Inf, # should be deprecated
axis::NothingUnion{Array{Float64,2}}=nothing,
Expand Down

0 comments on commit aa85150

Please sign in to comment.