I want to change my axis x where the value are 2019-01, 2019-02.. To 01-01-2019, 01-02-2019... I find it's due to the pd.to_datetime US default. I try different thing but nothing change...
ax1.plot(pd.to_datetime(DB['Date'], dayfirst=True), θPf2plot, color = 'gray', label = "Capacité au champ")
ax1.plot(pd.to_datetime(DB['Date'], format='%d/%m/%Y'), θPf2plot, color = 'gray', label = "Capacité au champ")
If you have any ideas, thank you for your help :) !