Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels