diff --git a/ipyvolume/volume.py b/ipyvolume/volume.py index a88299cd..0a651b0c 100644 --- a/ipyvolume/volume.py +++ b/ipyvolume/volume.py @@ -34,8 +34,8 @@ class Scatter(widgets.DOMWidget): Array(default_value=None,allow_none=True).tag(sync=True, **array_serialization)], default_value=0.1).tag(sync=True) size_selected = traitlets.Float(0.02).tag(sync=True) - color = traitlets.Union([Unicode().tag(sync=True), - Array(default_value=None,allow_none=True).tag(sync=True, **create_array_binary_serialization('color'))], + color = traitlets.Union([Array(default_value=None,allow_none=True).tag(sync=True, **create_array_binary_serialization('color')), + Unicode().tag(sync=True)], default_value="red").tag(sync=True) color_selected = traitlets.Unicode(default_value="white").tag(sync=True) geo = traitlets.Unicode('diamond').tag(sync=True)