The D3 color scale was not returning colors as hex strings but in a different form (e.g. "rgb(50, 255, 30)"). This PR adds a helper function to the update_colormap to parse both hex strings and the above rgb strings. This is part of issue https://github.com/glue-viz/glue-jupyter/issues/76.
The D3 color scale was not returning colors as hex strings but in a different form (e.g.
"rgb(50, 255, 30)"
). This PR adds a helper function to the update_colormap to parse both hex strings and the above rgb strings. This is part of issue https://github.com/glue-viz/glue-jupyter/issues/76.