Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antoinerg opened this issue Aug 13, 2019 · 1 comment · Fixed by #4125
Closed

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

antoinerg opened this issue Aug 13, 2019 · 1 comment · Fixed by #4125
Assignees

Comments

@antoinerg
Copy link
Contributor

antoinerg commented Aug 13, 2019

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

@etpinard
Copy link
Contributor

See scatter version -> https://codepen.io/etpinard/pen/ZEzQRYR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants