restore String
This commit is contained in:
parent
f571596eda
commit
94450a26e9
@ -24,6 +24,7 @@ convertToAnyVector(v::AVec{T}, plotattributes::KW) where {T<:Number} = Any[v], n
|
|||||||
convertToAnyVector(v::AVec{Union{Missing, T}}, plotattributes::KW) where {T<:Number} = Any[replace(v, missing => NaN)], nothing
|
convertToAnyVector(v::AVec{Union{Missing, T}}, plotattributes::KW) where {T<:Number} = Any[replace(v, missing => NaN)], nothing
|
||||||
|
|
||||||
# string vector
|
# string vector
|
||||||
|
convertToAnyVector(v::AVec{T}, plotattributes::KW) where {T<:AbstractString} = Any[v], nothing
|
||||||
convertToAnyVector(v::AVec{Union{Missing, T}}, plotattributes::KW) where {T<:AbstractString} = Any[replace(v, missing => "")], nothing
|
convertToAnyVector(v::AVec{Union{Missing, T}}, plotattributes::KW) where {T<:AbstractString} = Any[replace(v, missing => "")], nothing
|
||||||
|
|
||||||
function convertToAnyVector(v::AMat, plotattributes::KW)
|
function convertToAnyVector(v::AMat, plotattributes::KW)
|
||||||
@ -61,6 +62,7 @@ function convertToAnyVector(v::AVec, plotattributes::KW)
|
|||||||
Any[convert(Vector{Float64}, v)], nothing
|
Any[convert(Vector{Float64}, v)], nothing
|
||||||
else
|
else
|
||||||
# something else... treat each element as an item
|
# something else... treat each element as an item
|
||||||
|
@show v
|
||||||
vcat(Any[convertToAnyVector(vi, plotattributes)[1] for vi in v]...), nothing
|
vcat(Any[convertToAnyVector(vi, plotattributes)[1] for vi in v]...), nothing
|
||||||
# Any[vi for vi in v], nothing
|
# Any[vi for vi in v], nothing
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user