Dash 3D plot with different traces

Hi, I want to plot a 3D chart in dash with different traces in order to different colors like this chart:


I tried to do the same as I do for 2D chart with traces.append():

But it doesn’t work…
Anyone has an idea?