Plotly adds ticks to xaxis

Hi,

I have this subplots linechart

with values ranging from april 2018 to august 2019.
For some reason axis is generated with additional months on each side.
I’am able to calibrate xaxis properly with tick0 and dtick, but iam quite puzzled with this default behavior.
Can anybody explain, what might be going on?

Thanks

Hi @LavinaVRovine, I believe that when ticks are represented every two months, months always start at January. And plotly does not want to have data points outside the extreme tick values, which is why you end up with March and September. I’m glad you found a solution though ;-).

1 Like