Using fig2plotly() for a multicolored line with patch in MATLAB

Could someone please help me use fig2plotly() for a multicolored line with patch() in MATLAB?


I am trying to save a MATLAB figure that has two subplots, the second of which is formed by two multicolored lines using the patch() function. However, the resulting HTML file displays the two multicolored lines as 3D lines overlapped on the first subplot. On the left is the correct *.m MATLAB figure. On the right is the misconfigured *.html figure.