SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
181 stars 15 forks source link

add coloring of markers based on `seq[T: SomeNumber]` #28

Closed Vindaar closed 5 years ago

Vindaar commented 6 years ago

Instead of only allowing colors based on Color objects, also allow maker colors based on numbers, defined by a ColorMap.

Done by adding a colorVals and colormap field to the Marker object.

Vindaar commented 5 years ago

Since #29 is merged, this is redundant.