Black Lives Matter. Please consider donating to Black Girls Code today.

Contour X Axis coordinates

Is it able to make X axis appears as below. Thanx in advance

Have you tried setting xaxis.dtick ?

More info here: https://plot.ly/javascript/reference/#layout-xaxis-dtick