title: Labels not showing up with ax.set_xlabels in Matplotlib
body: <p>For some reason my xlabels are not showing up on this graph. I can't figure out why its not working. Any help would be appreciated. My code is as follows:</p>
  
  <pre><code>fig, ax = plt.subplots(nrows = 1, ncols = 1, figsize = (10,6))
  plt.hist(result, bins = 100, axes = ax)
  ax.axvline(x = 269, color = 'black')
  ax.axvline(x = 332, color = 'red', ymax = 0.5)
  ax.set_xlabels = 'Obama Electoral College Votes'
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Hj7Nh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hj7Nh.png" alt="enter image description here"></a></p>