plotly / plotly/angular-plotly.js

Console Warning on updating data.selectedpoints

Open
#254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
242
Forks
81
Avg merge
8h 48m
Merged PRs (30d)
18

Description

We are encountering an issue on plotly while using the lasso option.

After doing the lasso selection, if we try to update any property in the data, the plotly clears the lasso selection and we get a console warning like the one below.

image

Also, We are trying to clear the lasso selection by removing the selectedpoints from the data. Even in this case, we are seeing the same warning. Is there any other better approach for resetting the lasso selection?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names angular-plotly.js, the lasso selection, and data.selectedpoints, but no source file or test. First reproduce the warning by making a lasso selection and updating data, then test removing selectedpoints to reset it. Done means the selection can be cleared or data updated without the console warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.