x = [1.0, 2.0, 3.0, 4.0, 5.0]
y = np.random.rand(2, 5)
fig = plt.figure()
ax = plt.subplot(1, 1, 1)
bar1 = ax.bar(x, y[(0), :], color='darkgray', width=0.5, linewidth=0, alpha=0.5
    )
bar2 = ax.bar(x, y[(1), :], color='blue', width=0.5, linewidth=0, alpha=0.45)
plt.xticks(rotation='25')
plt.show()
How can I increase the frequency of xticks/ labels for dates on a bar plot?