You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using function ggplotly() with a non-default value of argument tooltip, it seems that color (US) is not recognized as posssible value, but colour (UK) is:
library(ggplot2)
library(palmerpenguins)
library(plotly)
ggpenguins<- qplot(bill_length_mm , body_mass_g,
data=penguins, color=species)
# color variable is not shown
ggplotly(ggpenguins, tooltip= c("color", "x"))
# colour (with u!) variable is shown
ggplotly(ggpenguins, tooltip= c("colour", "x"))
I don't think this is the expected behavior, isn't? Thanks.