Merge pull request #1268 from daschw/contour-fill

fix axes limits for fill=true in 3d plots (fix #1267)
This commit is contained in:
Daniel Schwabeneder 2017-11-30 11:15:53 +01:00 committed by GitHub
commit 99c8713e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ function expand_extrema!(sp::Subplot, d::KW)
if fr == nothing && d[:seriestype] == :bar
fr = 0.0
end
if fr != nothing
if fr != nothing && !all3D(d)
axis = sp.attr[vert ? :yaxis : :xaxis]
if typeof(fr) <: Tuple
for fri in fr