Face colors not working while converting 3d surface plot from MATLAB using fig2plotly() function

I am trying to convert a 3D Surface plot generated in matlab script to plotly using fig2plotly (gcf, “TreatAs”, “surf”) function but the converted image has gradient colors and not flat face colors.

Any idea on how flat face colors can be brought into plotly outputs ??