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

Matlab fig2plotly surface shape messed up

Hello, I am new to plotly and i tried to export a surface object from matlab to plotly.
the shape is a simple cylinder which is converted from a patch object to surface object and looks like the image below.

the problem is that the result plot after using fig2plotly command looks messed up as you can see

is there anyway to fix this problem ?