r - Remove Size data label in a plotly plot -


i have plot plotly: plot1

but want remove "size(size): x" data label keep names: ["aaaaaaaaa", ......, "iiiiiiiiii"]

this code use:

plot_ly(test, x = x, y = y ,text = type,mode = "markers+text", size = size) 

any tips?

using latest cran version of plotly.

df <- data.frame(x = 1:3, y = 1:3, size = round(runif(3, 1, 5)), labels = letters[1:3])  df %>%      plot_ly(x = ~x) %>%      add_markers(y = ~y, size = ~size) %>%      add_text(y = ~y, text = ~labels) 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -