Black Lives Matter. Please consider donating to Black Girls Code today.

Trisurf Plot Edge Color

Are trisurf plot edge colors supported by plotly.js? I have noticed they are on and default black in all the python trisurf plot examples and python has an available plot_edge bool and edges_color string. Are these options available in some form in ploly.js? Upon searching through the minified js file there does not seem to be.

Thank you

Hi @weingo2

Plotly does not provide a special trace type for edges of a triangulation. The triangles in a trisurf are plotted as scatter3d plots, mode = 'lines'. Hence you can set any line color.

Easy solution. Thank you! Didn’t realize I could stack a line scatter on top of a 3D triangulation mesh. Producing an excellent quality plot now.