Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

3D-Surface with Axis-Ratio between Data and Label-Values


I would like to set a ratio-value for label-values of an axis. If I have a chart like this, for example the y-label-values (0, 20, 40, 60, …) are calculated from the value-count. Now I have a similar plot where the y-data-values represent 0.25m-steps, so the scaling-values are wrong if they should represent the meter-values - they should be divided by 4 in my case (correct would be 0, 5, 10 … [m]).

I hope you understand my question, is it possible to set such a scaling-factor?

Greetings, Marcel

You can try using tickvals / ticktext :