From de51beebe86c4ff8787d2f0741244184b03a13b6 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Wed, 21 Feb 2018 17:47:11 +0100 Subject: [PATCH] ensure non-unique clims --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 3544ead9..e880ae62 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -568,7 +568,7 @@ function get_clims(sp::Subplot) isfinite(clims[1]) && (zmin = clims[1]) isfinite(clims[2]) && (zmax = clims[2]) end - return zmin < zmax ? (zmin, zmax) : (0.0, 0.0) + return zmin < zmax ? (zmin, zmax) : (-0.1, 0.1) end _update_clims(zmin, zmax, emin, emax) = min(zmin, emin), max(zmax, emax)