You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the current type signature uses Matrix{Float64} for points and colors positional arguments which is too restrictive and does not allow for useful color formats such as ::Array{Normed{UInt8,8},2} or views into larger arrays such as ::SubArray. Would recommend using AbstractMatrix{<:Number} instead
The text was updated successfully, but these errors were encountered:
in fact it seems that rasterize is current doing a lot of conversion from Float64 to Int64 which we can avoid by having additional method where colors::AbstractMatrix{Normed{UInt8,8}}
the current type signature uses
Matrix{Float64}
forpoints
andcolors
positional arguments which is too restrictive and does not allow for useful color formats such as::Array{Normed{UInt8,8},2}
or views into larger arrays such as::SubArray
. Would recommend usingAbstractMatrix{<:Number}
insteadThe text was updated successfully, but these errors were encountered: