title: Label whiskers on ggplot boxplot when there are outliers
body: <p>I want to label the ends of the whiskers in ggplot's boxplots, not the minimum and maximum values, which in my data are often outliers. </p>
  
  <p>I've tried using the code found here: <a href="https://stackoverflow.com/questions/38020772/annotate-boxplot-in-ggplot2">annotate boxplot in ggplot2</a>, but as you can see from the output in factor(cyl)=8 (the blue), the absolute minimum and maximum values are labeled, not the points where the whiskers end.</p>
  
  <p>This is the output: <a href="https://i.stack.imgur.com/OBg8Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OBg8Y.png" alt="enter image description here"></a></p>
  
  <pre><code>ggplot(mtcars, aes(x=factor(cyl), y=mpg, fill=factor(cyl))) + 
    geom_boxplot(width=0.6) +
    stat_summary(geom="text", fun.y=quantile,
             aes(label=sprintf("%1.1f", ..y..), color=factor(cyl)),
             position=position_nudge(x=0.33), size=3.5) +
  theme_bw()
  </code></pre>
  
  <p>In the example given, I want the whiskers on factor(cyl) labeled, not the outliers.</p>
  
  <p>Thanks for any help you all can provide.</p>