Seasonal plot in python


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.