title: ggplot2 coord_flip() with geom_text
body: <p>I'm trying to find a way to easily flip a plot annotated with geom_text(). The problem is that if I use coord_flip(), the labels are kind of not flipped.</p>
  
  <p>A simple example, if I flip the plot like that:</p>
  
  <pre><code>df &lt;- count(diamonds, cut)
  
  ggplot(df, aes(x = cut, y = n, label = n)) +
  geom_bar(stat = "identity") +
  geom_text()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PsqJD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PsqJD.png" alt="ggplot not flipped"></a></p>
  
  <p>by adding coord_flip(), I'm getting:
  <a href="https://i.stack.imgur.com/g2fQW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g2fQW.png" alt="enter image description here"></a></p>
  
  <p>I know that this could be a desired behaviour in some cases but instead of that, I need the labels on the bars to stay aligned with the bars and look more like:</p>
  
  <p><a href="https://i.stack.imgur.com/WJiPk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WJiPk.jpg" alt="enter image description here"></a></p>
  
  <p>Is there any solution to that?</p>