Skip to content

plotly is overly eager to stringify text attribute when hoveron=fills+points #1448

Closed
@cpsievert

Description

@cpsievert

I'd expect this code to produce the following

plot_ly() %>%
  add_trace(
    x = c(1, 2, 3),
    y = c(1, 2, 1),
    text = paste0("point", 1:3),
    fill = "toself",
    mode = "markers+lines",
    hoveron = "fills+points"
  ) 

hmm

But currently it does:

hmmm2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions