Perhaps tickvals
works for you, see e.g. How to add categorical color legend for scatter plot created by graph_objects - #3 by windrose
2 Likes
Perhaps tickvals
works for you, see e.g. How to add categorical color legend for scatter plot created by graph_objects - #3 by windrose