Open
Description
The simple scatterplot has a third variable mapped to the marker/point size. The plot looks perfect to me, but it throws a warning about multiple values. Each x & y value has exactly one size value.
Other than suppressing the warning, can a respecify this graph so it does not throw the warning?
Warning message: `line.width` does not currently support multiple values.
Code:
plotly::plot_ly(
data = iris,
x = ~Sepal.Length,
y = ~Petal.Length,
size = ~Sepal.Width,
type = 'scatter',
mode = 'markers'
)
Originally posted at https://stackoverflow.com/questions/52692760/spurious-warning-when-mapping-marker-size-in-plotly-r.
Metadata
Metadata
Assignees
Labels
No labels