Closed
Description
The following won't render:
library(plotly)
plot_ly(
labels = c("Seth", "Enos", "Noam", "Awan", "Enoch"),
parents = c("", "Seth", "Seth", "", "Awan"),
values = c(12, 10, 2, 4, 4),
type = "sunburst",
branchvalues = "total"
)
Once we add a "root" the plot renders fine:
library(plotly)
plot_ly(
labels = c("Eve", "Seth", "Enos", "Noam", "Awan", "Enoch"),
parents = c("", "Eve", "Seth", "Seth", "Eve", "Awan"),
values = c(16, 12, 10, 2, 4, 4),
type = "sunburst",
branchvalues = "total"
)
I guess, but I'm not sure if this pull request already adresses the problem.
I saw the problem here first.
Metadata
Metadata
Assignees
Labels
No labels