title: matplotlib not showing first label on x axis for the Bar Plot
body: <p>Here is the code I am working on to create a logarithmic bar plot</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  fig = plt.figure(figsize = (12,6))
  
  ax = fig.add_subplot(111)
  
  x = ['Blue Whale', 'Killer Whale', 'Bluefin tuna', \
       'Bottlenose dolphin', "Maui's dolphin", 'Flounder',\
       'Starfish', 'Spongebob Squarepants']
  
  y = [190000, 5987, 684, 650, 40, 6.8, 5, 0.02]
  
  ax.bar(np.arange(len(x)),y, log=1)
  
  ax.set_xticklabels(x, rotation = 45)
  
  
  fig.savefig(filename = "f:/plot.png")
  </code></pre>
  
  <p>Now this is creating the bar plot where its not showing the first label, which is <code>Blue Whale</code>. Here is the plot I am getting<a href="https://i.stack.imgur.com/0uzoz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0uzoz.png" alt="enter image description here"></a>  So how can this be rectified ?  Matplotlib version is <code>2.0.0</code> and Numpy version is <code>1.12.1</code></p>
  
  <p>Thanks</p>