I want to plot two time series datasets from 2019 and 2020 on the same plot to compare them but I want to ignore the year so they are on top of each other. for this I changed the years to 2000 and plot it both but then the xaxis label is 2000. Also this works ok if no leap years but not a good idea if one of the years is a leap year. I also tried converting the datetime to 'day of year' but then the xaxis is a number and I want to show dates.
is there a way to do this without changing the year?