title: ggplot2 displays wrong colors with manual scale
body: <p>I am trying to plot my data with manual color scale based on values. However the colors that are displayed nowhere near correspond to the values that I provide.
  My data looks like this:</p>
  <pre><code># A tibble: 100 x 2
     chunk      avg  
     &lt;dbl&gt;    &lt;dbl&gt;  
   1     0  0.0202
   2     1  0.0405
   3     2  0.0648
   4     3  0.0405
   5     4  0.0283
   6     5 -0.00806
   7     6 -0.0526
   8     7 -0.0364
   9     8 -0.00810
  10     9  0.0243
  # ... with 90 more rows
  </code></pre>
  <p>Then I pipe it to ggplot2:</p>
  <pre><code>data %&gt;%
      ggplot(
          aes(
              chunk,
              avg,
              fill = cut(
                  avg,
                  c(-Inf, -0.01, 0.01, Inf)
              )
          )
      ) +
      geom_bar(stat = &quot;identity&quot;, show.legend = FALSE) +
      scale_color_manual(
          values = c(
              &quot;(-Inf, -0.01)&quot; = &quot;red&quot;,
              &quot;[-0.01, 0.01]&quot; = &quot;yellow&quot;,
              &quot;(0.01, Inf)&quot; = &quot;green&quot;
          )
      )
  </code></pre>
  <p>As you can see, I want to color my bars based on values, below -0.01 red, above 0.01 green and bettween - yellow.</p>
  <p>This is the result I receive:</p>
  <p><a href="https://i.stack.imgur.com/gOb0C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gOb0C.png" alt="failed plot" /></a></p>
  <p>What am I missing?</p>