Skip to content

Fix scatterpolargl point snapping - #8159

Open
Tanishdete333 wants to merge 2 commits into
plotly:mainfrom
Tanishdete333:fix-scatterpolargl-snap
Open

Tanishdete333 wants to merge 2 commits into
plotly:mainfrom
Tanishdete333:fix-scatterpolargl-snap

Conversation

@Tanishdete333

Copy link
Copy Markdown

Description

Fixes an issue where scatterpolargl drops points when rendering datasets containing more than 10,000 points.

The marker snapping threshold was limiting the number of points processed. This change sets opts.marker.snap to the trace's point count (len), allowing the trace to account for all its points.

Tests

  • Added a Jasmine regression test with 12,000 points.
  • Verified that scene.markerOptions[0].snap equals the number of points.
  • npm run lint passes.
  • npm run test-jasmine passes.
  • git diff --check passes.

Fixes #8148

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 this pull request may close these issues.

[BUG]: scatterpolargl drops points between 10000 and 100000 points

1 participant