I am trying to use plotly r package to show some tooltips and get this error Warning: 'scatter' objects don't have these attributes: 'tooltip'
Here is the code I am using
p <- plot_ly(dt, x = ~fruits, y = ~rank, type = 'scatter', mode = 'markers',
tooltip = 'text')
I have updated to the lastest version of plotly. What can I do to fix this.