fix 3d plots

This commit is contained in:
Daniel Schwabeneder 2020-04-10 19:45:11 +02:00
parent 987456760c
commit 848b53e7d7

View File

@ -298,7 +298,7 @@ function _prepare_subplot(plt::Plot{T}, plotattributes::AKW) where {T}
st = _override_seriestype_check(plotattributes, st)
# change to a 3d projection for this subplot?
if RecipesPipeline.is_surface(st)
if RecipesPipeline.needs_3d_axes(st)
sp.attr[:projection] = "3d"
end