how to invert the x-axis in plotly code example Example: plotly reverse y axis fig['layout']['yaxis']['autorange'] = "reversed"