plotly set x range code example
Example 1: plotly reverse y axis
fig['layout']['yaxis']['autorange'] = "reversed"
Example 2: plotly r remove x axis label
p %>% layout(xaxis= list(showticklabels = FALSE))
fig['layout']['yaxis']['autorange'] = "reversed"
p %>% layout(xaxis= list(showticklabels = FALSE))