Skip to content

Commit

Permalink
add missing get_clims in GR (#3950)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith authored Nov 25, 2021
1 parent c1e88d0 commit c2af717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c2af717

Please sign in to comment.