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
Simply access the tick labels and change them:
xtl=[item.get_text()[:10] for item in ax.get_xticklabels()] _=ax.set_xticklabels(xtl)