add missing get_clims in GR

This commit is contained in:
Simon Christ 2021-11-25 14:04:25 +01:00
parent c1e88d0360
commit 720b6eae05
2 changed files with 2 additions and 2 deletions

View File

@ -955,7 +955,7 @@ end
function gr_clims(args...)
if args[1][:clims] != :auto
return args[1][:clims]
return get_clims(args[1])
end
lo, hi = get_clims(args...)
if lo == hi

View File

@ -513,7 +513,7 @@ for comp in (:line, :fill, :marker)
end
end
$get_compcolor(series, clims, i::Int = 1) =
$get_compcolor(series, clims::Tuple{<:Number, <:Number}, i::Int = 1) =
$get_compcolor(series, clims[1], clims[2], i)
function $get_compcolor(series, i::Int = 1)