holoviz / colorcet

A set of useful perceptually uniform colormaps for plotting scientific data
http://colorcet.holoviz.org
Other
682 stars 52 forks source link

Update swatch to explicitly check if cmap has a tuple type #51

Closed kebowen730 closed 4 years ago

kebowen730 commented 4 years ago

@jlstevens @philippjfr

A small PR updating to only convert cmap in swatch() to a list if it has a tuple type.