Skip to content

Plotly.restyle and (Plotly.update) throws error if trace indice is invalid or out of bound #3113

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 Oct 16, 2018 · 0 comments
Assignees
Labels
bug something broken

Comments

@antoinerg
Copy link
Contributor

antoinerg commented Oct 16, 2018

restyle (and update) should not throw an error if you give invalid trace indices, it should just toss them (this behavior was requested by @alexcjohnson)!

Here's a codepen reproducing the issue: https://codepen.io/anon/pen/RexqKO

@antoinerg antoinerg added the bug something broken label Oct 16, 2018
@antoinerg antoinerg self-assigned this Oct 16, 2018
@antoinerg antoinerg changed the title restyle throws error if trace is invalid or nonexistent restyle and (update) throws error if trace is invalid or nonexistent Oct 16, 2018
@antoinerg antoinerg changed the title restyle and (update) throws error if trace is invalid or nonexistent Plotly.restyle and (Plotly.update) throws error if trace indice is invalid or out of bound Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

1 participant