Hi,
Whenever I execute the code below, the categories corresponding to these axis are not sorted accordingly.
import plotly.express as px
df = px.data.iris()
fig = px.scatter_matrix(df)
fig.update_layout(xaxis5=dict(type='category',categoryorder='category ascending'),
yaxis5=dict(type='category',categoryorder='category descending'))
fig.show()