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:

set(gca, 'XDir','reverse')
set(gca, 'YDir','reverse')
response = fig2plotly;
% Convert data to a struct, and apply custom colorscale
data = cell2struct(,'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.