Skip to content

scattergl: text arrays shorter than data arrays throws error #4124

Closed
@antoinerg

Description

@antoinerg

Plotting the following gives an error:

Plotly.newPlot(gd,[{
        "type": "scattergl",
        "mode": "markers+text",
        "x": [3, 2, 1, 0],
        "y": [0, 1, 4, 9],
        "text": ["1", "2", "3"],
        "textposition": "top center"
    }])

Screenshot_2019-08-13_14-10-16

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions