Running the code below produces a chart where the x-axis labels just get nuked.
import seaborn as sns; sns.set()
import matplotlib.pyplot as plt
fmri = sns.load_dataset("fmri")
ax = sns.lineplot(x="timepoint", y="signal", data=fmri)
ax.set_xticklabels(ax.get_xmajorticklabels(), fontsize = 12)
the same holds true for:
ax.set_xticklabels(ax.get_xticks())
ax.set_xticklabels(ax.get_xticklabels())
ax.set_xticklabels(ax.get_xmajorticklabels())
How do I fix this?