Matlab plotly reverse axis for contour plot

Hi all,

I am trying to create a contour plot with reversed axis with plotly.

here is my code:

contourf(yaxe,xaxe,loadingsM,ContourLevels);
set(gca, 'XDir','reverse')
set(gca, 'YDir','reverse')
response = fig2plotly;
% Convert data to a struct, and apply custom colorscale
data = cell2struct(response.data,'data',1);
layout = struct('xaxis', struct('autorange', 'reversed'));
response2 = plotly(data, struct('layout', layout, 'filename', 'axes-reversed', 'fileopt', 'overwrite'));

this code works well in matlab. but no reversed axis in my plotl documents.

thanks for your help.