✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Equally axis tick or Cube scale in 3D plot

I have create 3D plot using scatter3D and my axis is in range of
xaxis = dict(range[-3, 4])
yaxis = dict(range[-2, 2])
zaxis = dict(range[-2, 2])

When i plot this another shorter axis got strected more than usual. What i want is every axis have the same tick or the in a same scale. I did try aspectmode=‘cube’ but it’s not work. Some axis has step=1 but another have step=0.5.

Thank you.