From 6cdccf4353c262bb489b2d398ecb3317c88148a3 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 17 Dec 2017 16:44:20 +0100 Subject: [PATCH] add missing 'series' --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 081cc7d3..5d1222bd 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -555,7 +555,7 @@ function get_clims(sp::Subplot) zmin, zmax = Inf, -Inf z_colored_series = (:contour, :contour3d, :heatmap, :histogram2d, :surface) for series in series_list(sp) - for vals in (series[:seriestype] in z_colored_series ? series[:z] : nothing, [:line_z], series[:marker_z], series[:fill_z]) + for vals in (series[:seriestype] in z_colored_series ? series[:z] : nothing, series[:line_z], series[:marker_z], series[:fill_z]) if (typeof(vals) <: AbstractSurface) && (eltype(vals.surf) <: Real) zmin, zmax = _update_clims(zmin, zmax, ignorenan_extrema(vals.surf)...) elseif (vals != nothing) && (eltype(vals) <: Real)