Plotly: How to set values for major ticks / gridlines for x-axis?
问题 Background: This question is related, but not identical, to Plotly: How to retrieve values for major ticks and gridlines?. A similar question has also been asked but not answered for matplotlib here: How do I show major ticks as the first day of each months and minor ticks as each day? Plotly is fantastic , and maybe the only thing that bothers me is the autoselection of ticks / gridlines and the labels chosen for the x-axis like in this plot: Plot 1: I think the natural thing to display here