add letter in surface type recipe
This commit is contained in:
parent
45569c0d4d
commit
7abab41f2b
@ -219,13 +219,14 @@ end
|
|||||||
_apply_type_recipe(
|
_apply_type_recipe(
|
||||||
plotattributes,
|
plotattributes,
|
||||||
v::Surface{<:AMat{<:Union{AbstractFloat, Integer, AbstractString, Missing}}},
|
v::Surface{<:AMat{<:Union{AbstractFloat, Integer, AbstractString, Missing}}},
|
||||||
|
letter,
|
||||||
) = v
|
) = v
|
||||||
function _apply_type_recipe(plotattributes, v::Surface)
|
function _apply_type_recipe(plotattributes, v::Surface, letter)
|
||||||
ret = _apply_type_recipe(plotattributes, v.surf)
|
ret = _apply_type_recipe(plotattributes, v.surf, letter)
|
||||||
if typeof(ret) <: Formatted
|
if typeof(ret) <: Formatted
|
||||||
Formatted(Surface(ret.data), ret.formatter)
|
Formatted(Surface(ret.data), ret.formatter)
|
||||||
else
|
else
|
||||||
Surface(ret.data)
|
Surface(ret)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user