title: How to add data labels to boxplot?
body: <p>I am having difficulties figuring out how to replacing the 1, 2, 3, 4 data labels on the boxplot with "nok", "msft, "ibm" and "aapl".  See the image, where I highlighted in yellow</p>
  
  <p>I thought this line of code would add them, but it just adds the numbers:</p>
  
  <p>ax.set_xticklabels(['nok', 'msft', 'ibm', 'aapl'])</p>
  
  <p><a href="https://i.stack.imgur.com/2oFrD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2oFrD.png" alt="enter image description here"></a></p>
  
  <p>The rest of the code is below:</p>
  
  <pre><code>data = [df['nok'],  df['msft'],  df['ibm'],  df['aapl']]
  fig = plt.figure()
  ax = fig.add_subplot(111)
  ax.set_xticklabels(['nok', 'msft', 'ibm', 'appl'])
  ax.set_title('BoxPlot Example')
  ax.set_xlabel('Stock')
  ax.set_ylabel('Price')
  ax.grid(zorder=0)
  ax.boxplot(data, widths = 0.6, patch_artist = True)
  </code></pre>
  
  <p>Can you help?</p>
  
  <p>Thanks,</p>
  
  <p>Paul </p>