Problem when users zoom too far

Hello everyone,

When users zoom too far into my daily-data plot, the x-axis shows sub-daily ticks:

I have already tried customizing the ticks as described here: Time Series and Date Axes | Python | Plotly

However, this option can only customize ticks but not disable ticks between two days.

Is there a suggested way of handling this issue? Is it for instance possible to also limit the number of ticks (nticks) for given zoom levels?

I am sorry if this topic has already been answered before, but I haven’t found the answers yet.

Thank you very much in advance!