Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Matlab Line 3d Issue

Hello,

I am creating a 3D matlab surface plot and it also has a line object. The line object is using all three axes (x,y,z) where y and z are the same value.
For some reason whenever i convert the figure to a plotly fig the line object is 2d and static (picture below). The line should be inside the cylinder and rotate with it but it doesnt seem to.
I have a similar 3d graph that also has a line object where all three axes have different values and the line object is 3d and rotates fine.

The line object is circled in red. You can also see that some of the matlab grid is imposed on top of the plotly grid.

Any help on why the line object is static would be appreciated.
Thanks