diff --git a/glue/viewers/scatter/layer_artist.py b/glue/viewers/scatter/layer_artist.py index b4b70095d..c31fab4a5 100644 --- a/glue/viewers/scatter/layer_artist.py +++ b/glue/viewers/scatter/layer_artist.py @@ -110,6 +110,7 @@ def set_linearcolor(self, color=None, data=None, **kwargs): data_new = np.zeros((len(data) - 1) * 2) data_new[::2] = data[:-1] data_new[1::2] = data[1:] + self.set_color(None) set_mpl_artist_cmap(self, data_new, **kwargs) else: if isinstance(color, np.ndarray):