add missing get_clims in GR (#3950)

This commit is contained in:
Simon Christ 2021-11-25 14:34:15 +01:00 committed by GitHub
parent c1e88d0360
commit c2af71756e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)