title: Changing x-axis labels in errorbar plot: no attribute 'get_xticklabels'
body: <p>I am trying to plot some data the main plot information is</p>
  
  <pre><code>ax1 = plt.errorbar(df1.index, df1['Mean'],
                 yerr=df1['SD'], color='black', linestyle='-')
  ax2 = plt.errorbar(df2.index, df2['Mean'],
                 yerr=df2['SD'], color='grey', linestyle='-')
  </code></pre>
  
  <p>The problem is each data frame index is 5% increments of a whole (i.e. df1 index is 0,5,10...100 as is df2) the result is the plot is trying to cram 40 labels on the x-axis</p>
  
  <p>I have tried a few different approaches but none have worked so far.  For example trying to rotate the labels and reduce font size, e.g.:</p>
  
  <pre><code>plt.setp(ax1.get_xticklabels(), rotation='vertical', fontsize=7)
  </code></pre>
  
  <p>returns </p>
  
  <pre><code>AttributeError: 'ErrorbarContainer' object has no attribute 'get_xticklabels'
  </code></pre>
  
  <p>I get the same error if I try to alter the x axis of ax1 and ax2  using <code>tick_params</code></p>
  
  <p>I think it may be because the plot is seeing the x-axis as categorical but I'm stumped on how to fix it?</p>
  
  <p>Ideally I would like to just show the 0, 25, 50, 75 and 100% labels for ax1 and ax2, but at this point I'd be happy with just rotating them so they look better.</p>