Issues with fig2plotly() from a multplot in MATLAB

I am trying to convert a figure that contains two subplots using fig2plotly. The two subplots are function plots, each with a contour map obtained using contourf() as a background to represent values of the functions in another dimension (see figure). The problem is that, despite the *.fig figure being perfect, the *.html version generated with fig2plotly() does not plot the second contour map and does not show the color bar.


The following message is displayed: “Whoops! Reference to non-existent field ‘legendgroup’ in contour”