title: How to rotate axis labels when using a matplotlib histogram?
body: <p>I have a plot that looks like this, and I am trying to make the x axis labels more readable:</p>
  
  <p><a href="https://i.stack.imgur.com/SD5oJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SD5oJ.png" alt="enter image description here"></a></p>
  
  <p>This is what I tried and the error I got:</p>
  
  <p><a href="https://i.stack.imgur.com/SD5oJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HGnfG.png" alt="enter image description here"></a></p>