ensure non-unique clims

This commit is contained in:
Daniel Schwabeneder 2018-02-21 17:47:11 +01:00
parent 3ac9f3d9cc
commit de51beebe8

View File

@ -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)