Seasonal plot in plot.ly python

Hi,

I have a time series data with year, month, day that I’d want to visualize only as month, day for different years.

I.e., similarr to this monthly plot by year but on a daily basis.

What would be a good way to stack the traces by month, day? One of the challenges is leap years.