Override the Default Behaviour for Plotly Date Axes
Time appears in the date axis when the date range is small or when you zoom in. What is the best way to override this default behaviour? — Playing with Plotly’s time series graphs can be simple and fun! You can choose between different chart types, adjust the date axis range with slider control, or tweak the formatting further in the code. Nevertheless, when you find yourself stuck accommodating your exact preferences, you can strive for more control.