title: How to avoid overlapping of labels in timeline plot
body: <p><a href="https://i.stack.imgur.com/bMjC6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bMjC6.png" alt="center labels overlap"></a>Hey everyone, i use the plot example from <a href="https://matplotlib.org/gallery/lines_bars_and_markers/timeline.html" rel="nofollow noreferrer">https://matplotlib.org/gallery/lines_bars_and_markers/timeline.html</a>
  Code is similar from the example there. Just some different values for the list names and dates.</p>
  
  <p>Now i have got the problem, as shown in the picture below that some of the labels overlap.
  How can I avoid that?
  It is not the only plot of that kind i will make so it would be great to find a way that it works for any data input.</p>
  
  <p>I already adjusted the space between the x-axis elements but I do not know how to fix that problem with the labels.</p>