I can\'t figure out how to change the format of these x-labels. Ideally, I\'d like to call strftime(\'%Y-%m-%d\') on them. I\'ve tried things like set_ma
strftime(\'%Y-%m-%d\')
set_ma
You could just pass new labels exactly with your preferred strftime:
ax.set_xticklabels([pandas_datetime.strftime("%Y-%m-%d") for pandas_datetime in df.index])
It's not the prettiest answer, but it gets the job done consistently.