title: Make lines of radar chart round in R plotly
body: <p>I have code for a radar chart below created in the plotly package in R. The lines are straight from point to point but I would like to make them curved. I'm trying to read documentation to plotly but having trouble interpreting. </p>
  
  <p>This is the code I have:</p>
  
  <pre><code>fig &lt;- plot_ly(
      type = 'scatterpolar',
      r = c(1,3,2,4,1),
      theta = c("A","B","C","D","E"),
      fill = 'toself',
      line = list(c(shape = "spline"))
  ) 
  fig %&gt;%
      layout(
          polar = list(
              radialaxis = list(
                  visible = T,
                  range = c(0,4)
              )
          ),
          showlegend = F
      )
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qfwrE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qfwrE.png" alt="enter image description here"></a></p>
  
  <p>I would like the lines to be curved at the points. </p>