Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Modify scale values of y-axis (not y-axis label)

Hello everyone,

for a normal bar plot, I want to modify the values on the y-axis-scale. I do not mean the general label for the y-axis. Example: On the uploaded picture, I want to change the values marked in red from 1, 0.5, … to high, middle, low, …

Does anyone has input how to do that? Note that I do not want to change the data that is behind the graph, I only want to change the way it is displayed.


@too_short Yes, you can get what you want setting correspondingly the keys tickvals and ticktext: