How is date tick range decided?

Iโ€™m following this example on a timeseries visualization, and I cannot figure out how Plotly determines where to place the ticks/grid lines when using tickformatstops.

I get that you can set ticklabel string format based on the zoom level, but how do you set the distance between ticks, or where the first tick goes?

For example, in the documentation example, if you zoom in to a random period you get;


What determines that the first tick is at 31. May and that the tick spacing is 14 days apart? In the code we never said to make it 14 days apart at that zoom level.

Phrased another way, can we control (at any given zoom level) where the first tick is placed, and what the tick width is (remembering that it will change based on zoom level)?