How can I edit native tooltip text (median, mean, lower fence, upper fence, ect) from boxplot in R code?
I tried using the
locale option of the
config function, but I didn’t get the expected result when
locale = "pt-br". The translation of the boxplot elements is not happening as expected for the Portuguese language.
library(plotly) fig <- plot_ly(x = ~rnorm(50), type = "box", hoverinfo = 'x') fig |> config(locale = "pt-br")