Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly Imposed 2D Line

I posted awhile back about an issue i was having with a 3d matlab graph, but i still can’t figure it out.

In matlab i have a 3d plot with a line object running through it. It looks fine but whenever i convert it to a plotly figure, there is a red line 2d line going across the screen along with a 2d axis that does not move.
There is also a 3d axis around the 3d plot which is correct.

Has anyone had this problem before? I’m not sure why the line object isnt showing up correctly and why there is a 2d line/axis.
Thanks for the help. (pictures below)

Matlab with line object (correct):

Plotly missing line with 2d axis: