Do not know, but the dates on the x-axis seem to outlined right, ending exactly where the dot is, instead of default centered.
Check on https://plotly.com/python/figure-labels/#automatic-labelling-with-plotly-express if you find any clue if any plotly setting aligns your x-axis label.
Also check if the css-styling has anything to do with it.
For an example, see https://mydemoversion8-sandbox.mxapps.io/p/charts, you can download that app’s code from https://github.com/TimvanSteenbergen/MyDemoVersion8
And don’t forget to have a nice weekend.