Skip to content

Colormap Issues #345

Description

@jungerm2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions