fix ambiguity
This commit is contained in:
parent
59e4129194
commit
3dd1c500cf
@ -216,10 +216,9 @@ function _apply_type_recipe(plotattributes, v::AbstractArray, letter)
|
|||||||
end
|
end
|
||||||
|
|
||||||
# special handling for Surface... need to properly unwrap and re-wrap
|
# special handling for Surface... need to properly unwrap and re-wrap
|
||||||
_apply_type_recipe(plotattributes, v::Surface{<:AMat{MaybeString}}, letter) = v
|
|
||||||
_apply_type_recipe(
|
_apply_type_recipe(
|
||||||
plotattributes,
|
plotattributes,
|
||||||
v::Surface{<:AMat{<:Union{AbstractFloat, Integer, Missing}}},
|
v::Surface{<:AMat{<:Union{AbstractFloat, Integer, AbstractString, Missing}}},
|
||||||
) = v
|
) = v
|
||||||
function _apply_type_recipe(plotattributes, v::Surface)
|
function _apply_type_recipe(plotattributes, v::Surface)
|
||||||
ret = _apply_type_recipe(plotattributes, v.surf)
|
ret = _apply_type_recipe(plotattributes, v.surf)
|
||||||
@ -232,10 +231,9 @@ end
|
|||||||
|
|
||||||
# don't do anything vectors of datapoints and for nothing
|
# don't do anything vectors of datapoints and for nothing
|
||||||
_apply_type_recipe(plotattributes, v::Nothing, letter) = v
|
_apply_type_recipe(plotattributes, v::Nothing, letter) = v
|
||||||
_apply_type_recipe(plotattributes, v::AbstractArray{<:MaybeString}, letter) = v
|
|
||||||
_apply_type_recipe(
|
_apply_type_recipe(
|
||||||
plotattributes,
|
plotattributes,
|
||||||
v::AbstractArray{<:Union{AbstractFloat, Integer, Missing}},
|
v::AbstractArray{<:Union{AbstractFloat, Integer, AbstractString, Missing}},
|
||||||
letter,
|
letter,
|
||||||
) = v
|
) = v
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user