title: R Plotly changing the color to the bars in the add_bars portion
body: <p>So I have created a Plotly graph in R which has lines for the mean, upper confidence, and lower confidence.  I added the "add_bars" line of code for the count.  This is what I am looking for.  I can change the color of the lines but not the barchart.  This is my code:</p>
  
  <pre><code>plot_ly(df, x = ~Date) %&gt;%
    add_lines(y = ~Mean, name = 'Mean', line = list(color = 'rgb(0, 0, 0)')) %&gt;%
    add_lines(y = ~X95_upper_conf, name = 'Upper Confidence', line = list(color = 'rgb(205, 12, 24)', width = 4, dash = 'dot')) %&gt;%
    add_lines(y = ~X95_lower_conf, name = 'Lower Confidence', line = list(color = 'rgb(205, 12, 24)', width = 4, dash = 'dot')) %&gt;%
    add_bars(y = ~Count,name = 'Count', barplot = list(color = 'rgb(0, 0, 0)')) %&gt;%
      layout(
        margin = list(b = 190, l = 50)) # to fully display the x and y axis labels
  </code></pre>
  
  <p>I have tried adding:</p>
  
  <pre><code>barplot = list(color = 'rgb(0, 0, 0)')
  </code></pre>
  
  <p>and </p>
  
  <pre><code>line = list(color = 'rgb(0, 0, 0)')
  </code></pre>
  
  <p>But neither seems to work.  Any help would be greatly appreciated!</p>