title: how to change plotting time series axes to show time instead of date
body: <p>I have the script below, I m trying to change my plot to show hours instead of month and year on the bottom.</p>
  <pre><code>import datetime
  import matplotlib.pyplot as plt
  
  x = [datetime.datetime.now() + datetime.timedelta(hours=i) for i in range(10)]
  y = ['54.2', '54.8', '54.2', '54.8', '55.3', '55.3', '55.3', '55.3', '54.8', '54.8']
  # plot
  plt.plot(x,y)
  # beautify the x-labels
  plt.gcf().autofmt_xdate()
  
  print(x)
  print(y)
  plt.show() 
  </code></pre>