Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

3D Mesh plot creates "Wall" at the end

Hi,

We got a problem with all our 3D Mesh plots having a wrong connection at an end, connecting the last points on the side, creating an extra surface, looking like a “wall” which shouldn’t be there.

An example is here https://codepen.io/anon/pen/vrjMZQ

Any ideas how to fix this?

@bgx A mesh3d trace is based on a triangulation. x, y, z stores the coordinates of the vertices, and i, j, k the indices of points defining the triangles. In your definition the keys i, j, k are missing.

See the mes3d attributes here: https://github.com/plotly/plotly.js/blob/master/src/traces/mesh3d/attributes.js,

Thanks, I’ll have a look at that.