Skip to content

How to set fix y-axis values in a specific order? #322

Answered by dbuezas
citoki asked this question in Q&A
Discussion options

You must be logged in to vote

Since the values are categorical (not numbers), plotly positions them in the order it finds them. To fix the order you need to list them inside layout/xaxis.
See this answer https://stackoverflow.com/a/45479905

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants