title: Strange behavior of MultipleLocator() with subplots
body: <p>I'm having trouble with this piece of code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from matplotlib.ticker import MultipleLocator, FormatStrFormatter
  
  majorLocator   = MultipleLocator(0.1)
  majorFormatter = FormatStrFormatter('%2.1f')
  
  fig = plt.figure()
  axes = []
  
  for i in range(4):
      axes.append(fig.add_subplot(2,2,i+1))
  
  for ax in axes:
      ax.yaxis.set_major_locator(majorLocator)
      ax.yaxis.set_major_formatter(majorFormatter)
      ax.set_ylim(0,1)
  
  axes[-1].set_ylim(1,2) #If you comment this line all works fine.
  
  plt.show()
  </code></pre>
  
  <p>In my screen a tick issue appears. </p>
  
  <p><img src="https://i.stack.imgur.com/zXel9.png" alt="enter image description here"></p>
  
  <p>But if I comment the line <code>axes[-1].set_ylim(1,2)</code> all the ticks are properly displayed. Is this a bug? Or I am doing it wrong? </p>
  
  <p>(matplotlib '1.3.0')</p>