title: Change all text color in Plotly R
body: <p>I'm writing an R shiny app on a black background and need to change all plotly text to white. For some reason my code is not working:</p>
  
  <pre><code>  output$plotly_bar&lt;- renderPlotly({
      plot_ly(FAID_mexico, x = ~Funding_Agency_Acronym,
          y = ~FAID_mexico$Current_Amount, 
          textfont = list(color = '#FFFFFF'),
          color = ~FAID_mexico$Policy_Area,
          textfont = list(color = '#FFFFFF')) %&gt;%
        layout(plot_bgcolor='black')%&gt;%
         layout(paper_bgcolor='black')
    })
  </code></pre>
  
  <p>texfont should be the function that changes all text color.</p>