title: Removing buttons from plotly modebar
body: <p>I'm trying to remove the orbit rotation button in the plotly modebar from a scatter3D plot. According to <a href="https://plotly-r.com/control-modebar.html" rel="nofollow noreferrer">the manual (26.3 Remove modebar buttons by name)</a> it sounds feasible. However when I try it out the plot vanishes. Regular scatter3d plot:</p>
  <pre><code>fig &lt;- plot_ly(mtcars, x = ~wt, y = ~hp, z = ~qsec, color = ~am, colors = c('#BF382A', '#0C4B8E'))
  fig &lt;- fig %&gt;% add_markers()
  fig
  </code></pre>
  <img src="https://i.stack.imgur.com/Y0WyK.png" width="300" />
  <p>But when I try to remove the button using the list of names <a href="https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js" rel="nofollow noreferrer">here</a> the plot vanishes (and so does the modebar) :</p>
  <pre><code>fig %&gt;%
    config(modeBarButtonsToRemove = c(&quot;orbitRotation&quot;))
  </code></pre>
  <img src="https://i.stack.imgur.com/Ut0rQ.png" width="300" />
  <p>It seems to work for some buttons but not others - is this a bug?</p>