Remove unecessary code

This commit is contained in:
Lukas Hauertmann 2021-10-07 16:54:49 +02:00
parent a41787ecc8
commit 76b26c9038

View File

@ -2061,7 +2061,7 @@ function gr_draw_surface(series, x, y, z, clims)
fillalpha = get_fillalpha(series) fillalpha = get_fillalpha(series)
n_polygons = length(cns) n_polygons = length(cns)
facecolor = if series[:fillcolor] isa AbstractArray facecolor = if series[:fillcolor] isa AbstractArray
[typeof(fc)(fc) for fc in series[:fillcolor]] series[:fillcolor]
else else
fill(series[:fillcolor], n_polygons) fill(series[:fillcolor], n_polygons)
end end