Skip to content

fig_v2报错 #4

@oulton

Description

@oulton

fig_v2显示带颜色的,color参数会报错
traits.trait_errors.TraitError: The 'color' trait of a GlyphFactory instance must be a tuple of the form: (0.0 <= a floating point number <= 1.0, 0.0 <= a floating point number <= 1.0, 0.0 <= a floating point number <= 1.0) or None, but a value of array([ 75., 101., 87.]) <class 'numpy.ndarray'> was specified.

color参数要0-1之间的,点云颜色RGB是0-255, 我试着color/255归一化了,发现并不能解决问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions