From 7abab41f2bce04101dc3934841620b2b53a12edc Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Tue, 7 Apr 2020 09:52:32 +0200 Subject: [PATCH] add letter in surface type recipe --- src/series.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/series.jl b/src/series.jl index 7cd0a3f0..ff3ce8a7 100644 --- a/src/series.jl +++ b/src/series.jl @@ -219,13 +219,14 @@ end _apply_type_recipe( plotattributes, v::Surface{<:AMat{<:Union{AbstractFloat, Integer, AbstractString, Missing}}}, + letter, ) = v -function _apply_type_recipe(plotattributes, v::Surface) - ret = _apply_type_recipe(plotattributes, v.surf) +function _apply_type_recipe(plotattributes, v::Surface, letter) + ret = _apply_type_recipe(plotattributes, v.surf, letter) if typeof(ret) <: Formatted Formatted(Surface(ret.data), ret.formatter) else - Surface(ret.data) + Surface(ret) end end