I'm getting an empty plot (just x and y axis) and a massage:
`arrange_()` is deprecated as of dplyr 0.7.0.
Please use `arrange()` instead.
See vignette('programming') for more help
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
My dplyr version is 1.0.0 and plotly version is 4.9.2.1
Anyone encountered this?
Either you give an explicit reference to the data (mtcars$wt) or you provide the data and variable names separately, in that case you need to use formulas:
In your example, since you're not providing a formula, plot_ly assumes you're providing data. So it does exactly what you ask: it plots the character string "mpg" against the string "wt".