Plotting dates on the x-axis with Python's matplotlib,plt.gca().xaxis.set_major_formatter(mdates.DateFormatter('%m/%d/%Y'))