title: Good date format on x-axis matplotlib
body: <p>I have the following dataframe: </p>
  
  <pre><code>Time    test
  0:05    2
  0:06    2
  0:07    2
  0:08    2
  0:09    2
  0:10    2
  0:11    2
  </code></pre>
  
  <p>This datframe starts at 0:00 and ends at 11:59. I created the following graph with: </p>
  
  <pre><code>x = dftestgraph['Time']
  y = dftestgraph['test']
  plt.ylabel('Number of tasks')
  plt.plot(x, y, color="#00a1e4", label="Number of Tasks")
  plt.fill(x, y, '#00a1e4', alpha=0.8)
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Xb19G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xb19G.png" alt="Graph"></a></p>
  
  <p>Why is there a line in the bottom of the graph, that splits my filled graph in half? And I would like to format my x-axis as ( 0:00, 0:30, 1:00 etc.) I tried: </p>
  
  <pre><code>plt.xticks(0:00, 11:59, 30:00))
  </code></pre>
  
  <p>However this does not work.
  My question is: </p>
  
  <ul>
  <li>Why is there a line in my graph and how can I solve this?</li>
  <li>How to set the x-axis in the correct format?</li>
  </ul>