title: Python pyplot histogram 0 bar is showing up
body: <p>I am trying to make a histogram of some data that I have and for some reason histogram is keep showing the 0`th bar as well(Which is empty in my case)
  here is my code</p>
  
  <pre><code>number_of_bins = 12
  japanQuakes = pd.read_csv('JapanQuakes.csv', header=None).as_matrix()[1:,1].astype(np.int)
  japanQuakes_histogram = plt.hist(japanQuakes, number_of_bins)
  
  japanQuakes_histogram[0]
  </code></pre>
  
  <p>Note that japanQuakes contains numbers ranging from 1 to 12.</p>
  
  <p>And here is the histogram that I get</p>
  
  <p><a href="https://i.stack.imgur.com/teHsO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/teHsO.jpg" alt="enter image description here"></a></p>
  
  <p>So I want to find a way so that the bars fill the whole graph and the x axis starts from 1 instead of 0.</p>
  
  <p>I tried to make the following to fix the problem</p>
  
  <pre><code>A = np.array([1,2,3,4,5,6,7,8,9,10,11,12])
  japanQuakes_histogram = plt.hist(japanQuakes, A)
  </code></pre>
  
  <p>But by doing this, it seems like last 2 bars gets stacked together and I end up with 11 bars instead of 12.</p>
  
  <p>Also is there a way to make the x axis numbers appear under each bar ?</p>