Skip to content

Commit 8df2488

Browse files
committed
fix #18
1 parent edcc4ce commit 8df2488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/colormaps.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function ColorMap(name::Union{AbstractString,Symbol},
7575
a::AbstractVector{Tuple{T,T,T}},
7676
n=max(256,length(r),length(g),length(b),length(a)),
7777
gamma=1.0) where T<:Real
78-
segmentdata = Dict("red" => r, "green" => g, "blue" => b)
78+
segmentdata = Dict("red" => pybuiltins.list(r), "green" => pybuiltins.list(g), "blue" => pybuiltins.list(b))
7979
if !isempty(a)
8080
segmentdata["alpha"] = a
8181
end

0 commit comments

Comments
 (0)