I'm trying to add a custom colormap for use with a point cloud. I would like each point to have its own color. I have two arrays one containing the X,Y,Z coordinates of each point and the other contains the RGB values. From what I understand the only way I can colorize each point individually is through a colormap, is this correct?
When trying to change the colormap to a custom one I get the following error:
The 'cmap' trait of a Viewer instance must be a list or None, but a value of class 'numpy.ndarray' [....] was specified.
In fact, the example SpecifyAColormap seems to suffer the same error.
I'm using version 0.30.0 on ubuntu 18.04. Any ideas?
Thanks.
I'm trying to add a custom colormap for use with a point cloud. I would like each point to have its own color. I have two arrays one containing the X,Y,Z coordinates of each point and the other contains the RGB values. From what I understand the only way I can colorize each point individually is through a colormap, is this correct?
When trying to change the colormap to a custom one I get the following error:
In fact, the example SpecifyAColormap seems to suffer the same error.
I'm using version 0.30.0 on ubuntu 18.04. Any ideas?
Thanks.