We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df2488 commit e231dd0Copy full SHA for e231dd0
src/colormaps.jl
@@ -75,7 +75,7 @@ function ColorMap(name::Union{AbstractString,Symbol},
75
a::AbstractVector{Tuple{T,T,T}},
76
n=max(256,length(r),length(g),length(b),length(a)),
77
gamma=1.0) where T<:Real
78
- segmentdata = Dict("red" => pybuiltins.list(r), "green" => pybuiltins.list(g), "blue" => pybuiltins.list(b))
+ segmentdata = Dict("red" => pylist(r), "green" => pylist(g), "blue" => pylist(b))
79
if !isempty(a)
80
segmentdata["alpha"] = a
81
end
0 commit comments