title: matplotlib bar chart with labels: space out the bars
body: <p>When I run this code in Jupyter notebook the labels overlap and are unreadable.</p>
  
  <pre><code>y = [72, 21, 114, 52, 114, 12, 101, 16, 68, 118]
  x = np.arange(len(y))
  columns = ['MAHC_A', 'MAHC_B', 'MAHC_C', 'MAHC_D', 'MAHC_E', 'MAHC_F','MAHC_G', 'MAHC_H', 'MAHC_I', 'MAHC_J']
  fig, ax = plt.subplots()
  ax.bar(x, y, width=bar_width)
  ax.set_xticks(x)
  ax.set_xticklabels(xlabels)
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mh8K6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mh8K6.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to space these out?</p>