JuliaAttic / Color.jl

Basic color manipulation utilities.
Other
47 stars 21 forks source link

number of colors (keyword N) in colormap does not work #65

Closed stelmo closed 9 years ago

stelmo commented 9 years ago

Hi, it seems that the keyword argument N for the number of colors generated by the colormap function does not work. It always generates the default number of colors (100). For example colormap("Blues", N=200) generates a 100 element array... Am I missing something?

nolta commented 9 years ago

N is an optional argument, not a keyword argument -- try colormap("Blues", 200).

http://docs.julialang.org/en/release-0.3/manual/functions/#optional-arguments