title: Python: Pandas plot histogram with centered x-values
body: <p>I want to plot the distribution of the following <a href="https://www.dropbox.com/s/9w02xbmm2bmhj45/histo.csv?dl=0" rel="nofollow noreferrer">dataset</a> (column <code>maxnet</code>).</p>
  
  <p>If I do the following in Python using Pandas DataFrame:</p>
  
  <p><code>df['maxnet'].hist(bins=10,range=(5,11), grid=False, alpha=0.3, histtype="stepfilled")</code></p>
  
  <p>I get the following figure:</p>
  
  <p><img src="https://i.stack.imgur.com/k9qYM.png" alt="enter image description here"></p>
  
  <p>As you can see, I don't have the x-axis values centered under each bar. I want the x-values (6, 7, 8, 9, 10) to be centered under the bar. How can I do that?</p>
  
  <p>Also, if I want to change the x-axis label for (Dec6, Dec7, Dec8, Dec9, Dec10), still centered under each bar, how can I do that?</p>