Date ticks and rotation [duplicate]
If you prefer a non-object-oriented approach, move plt.xticks(rotation=70) to right before the two avail_plot calls, eg plt.xticks(rotation=70) avail_plot(axs[0], dates, s1, ‘testing’, ‘green’) avail_plot(axs[1], dates, s1, ‘testing2’, ‘red’) This sets the rotation property before setting up the labels. Since you have two axes here, plt.xticks gets confused after you’ve made the two plots. At the point … Read more