title: How to set plotly chart to have a transparent background in R?
body: <p>Here's what I have, so far:</p>
  
  <pre><code>f1 &lt;- list(
     family = "Arial, sans-serif",
     size = 25,
     color = "white"
  )
  f2 &lt;- list(
     family = "Old Standard TT, serif",
     size = 14,
     color = "black"
  
  )
  a &lt;- list(
     title = "SALES PER SONG",
     titlefont = f1,
     showgrid = FALSE,
     showticklabels = TRUE,
     showline=TRUE,
     tickangle = 45,
     tickfont = f2
    )
  
   salesplot &lt;-plot_ly(producersales, type="scatter", x=Producer, y=SalesPerSong, color=SongRange, colors=cols, mode="markers", size=SalesPerSong) %&gt;% 
  layout(xaxis = a, yaxis = a)
  </code></pre>
  
  <p>I tried adding <code>paper_bgcolor=#00000000, plot_bgcolor=#00000000</code> after the x and y axis information within <code>layout()</code>, but when I run the command, I get the plus sign. I don't know what to do, so any help is appreciated. Thanks!</p>