From 45fc4eb5ab575e11f64ae1cf7cf304d9c9469fe2 Mon Sep 17 00:00:00 2001 From: Nicholas Bauer Date: Thu, 23 Sep 2021 13:26:54 -0400 Subject: [PATCH] return type --- src/colorbars.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/colorbars.jl b/src/colorbars.jl index ece1e236..c7d8f431 100644 --- a/src/colorbars.jl +++ b/src/colorbars.jl @@ -5,7 +5,7 @@ process_clims(s::Union{Symbol,Nothing,Missing}) = ignorenan_extrema # don't specialize on ::Function otherwise python functions won't work process_clims(f) = f -function update_clims(sp::Subplot, op = process_clims(sp[:clims])) +function update_clims(sp::Subplot, op = process_clims(sp[:clims]))::Tuple{Float64, Float64} zmin, zmax = Inf, -Inf for series in series_list(sp) if series[:colorbar_entry]