Skip to content

Support updates to positions of scatter3d points#559

Open
nvaytet wants to merge 6 commits intomainfrom
scatter3d-pos-update
Open

Support updates to positions of scatter3d points#559
nvaytet wants to merge 6 commits intomainfrom
scatter3d-pos-update

Conversation

@nvaytet
Copy link
Copy Markdown
Member

@nvaytet nvaytet commented Apr 27, 2026

Alternative to #484

Much of the changes are similar, but things are written in a simpler manner here, and we do not check for equality of coordinates (as this took time).

Updating the positions is between 3 and 10 times faster than updating the colors.
The gain of removing the unexpected behaviour that positions don't update (only colors used to update) are worth the cost, I think.

I tried looking at the Dream instrument view again and the loss of performance was not noticeable, contrary to what I wrote in #484 (comment)
Possibly because of performance updates done on the instrument view side itself? (scipp/scippneutron#691)

Fixes #495

@nvaytet nvaytet changed the title Update positions of scatter3d point upon update Update positions of scatter3d points upon update Apr 27, 2026
@nvaytet nvaytet changed the title Update positions of scatter3d points upon update Support updates to positions of scatter3d points Apr 27, 2026
@nvaytet nvaytet marked this pull request as ready for review April 27, 2026 21:27
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.

Scatter3d plot: positions do not update

1 participant