✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
📊 Dash 2.0 is Arriving. Register here.

Topographical 3D Surface Plot (Color based on X-axys)


I want to implement a 3D graph where the X-axys is the visible light wavelength (nm). I would like the graph X-axys to match the color (R-G-B) based on the value.

The topographical 3D surface plot seems to only allow me to have color based on the Z axys.

Is there any way with plotly to do this?

Thank you !

Try using surfacecolor as in https://codepen.io/etpinard/pen/YWwNxo