I have a pandas Dateframe with a date index looking like this:
Date
2020-09-03
2020-09-04
2020-09-07
2020-09-08
The dates are missing a few entries, since its only data for weekdays.
The thing I want to do is: Plot the figure and set an x tick on every Monday of the week.
So far I've tried:
date_form = DateFormatter("%d. %b %Y")
ax4.xaxis.set_major_formatter(date_form)
ax4.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=MO))
But it will start with 1970 and not with the actual date index.
Then I tried to:
mdates.set_epoch('First day of my data')
But this won't help since Saturday and Sunday is skipped in my original Index.
Any ideas what I could do?
