Hi @west999,
A scatter3d trace with a given color for each point is defined as follows:
trace=dict(type='scatter3d',
x=np.random.rand(25),
y=np.random.rand(25),
z=np.random.rand(25),
mode='markers',
marker=dict(color=[f'rgb({np.random.randint(0,256)}, {np.random.randint(0,256)}, {np.random.randint(0,256)})' for _ in range(25)],
size=10)
)
i.e. the color value is a list of color codes of len equal to the number of points. Here I defined 25 random rgb color codes, via f-strings in Python 3.6+.
