Skip to content

Commit e231dd0

Browse files
committed
use pylist, not pybuiltins.list
1 parent 8df2488 commit e231dd0

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" => pybuiltins.list(r), "green" => pybuiltins.list(g), "blue" => pybuiltins.list(b))
78+
segmentdata = Dict("red" => pylist(r), "green" => pylist(g), "blue" => pylist(b))
7979
if !isempty(a)
8080
segmentdata["alpha"] = a
8181
end

0 commit comments

Comments
 (0)