title: Label histogram by bins matplotlib
body: <p>I have a histogram in which I want to label the x-axis by bins. The histogram is plotted as a log log graph, but the bins are very specific. The graph:</p>
  
  <p><a href="https://i.stack.imgur.com/Fb00w.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fb00w.jpg" alt="The Graph"></a></p>
  
  <p>The bins: </p>
  
  <pre><code>bins = [0, 0.035, 0.07, 0.15, 0.5, 1, 3, 10, 40]  
  </code></pre>
  
  <p>Is there any way I can do this? I believe it would also require getting rid of the current x-axis labels.</p>