Reversed y-axis for contour plots in R?

I try to invert the y-axis of a contour plot in R using plot_ly(), does someone know the command for that? Thanks.