Skip to content

Add color bar (live updated) for 2D scans#106

Open
FlorenceBerterottiere wants to merge 2 commits into
mainfrom
fix/2d_scan_color_scale
Open

Add color bar (live updated) for 2D scans#106
FlorenceBerterottiere wants to merge 2 commits into
mainfrom
fix/2d_scan_color_scale

Conversation

@FlorenceBerterottiere
Copy link
Copy Markdown
Collaborator

Fixed issue #92

Now the color scale for 2D plots is properly displayed, and is updated live such as to have always the most contrast of our incoming data.

Example as the data comes in first:
image

then the color bar is updated as more data comes in
image

@FlorenceBerterottiere FlorenceBerterottiere self-assigned this May 26, 2026
@aferk aferk added the frontend Introduces changes to the web frontend label May 27, 2026
antti-ethz
antti-ethz previously approved these changes May 27, 2026
Copy link
Copy Markdown
Collaborator

@antti-ethz antti-ethz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done replacing updateVisualMap() with a declarative approach, it's better now.

One heads-up for merging into main: there's a real conflict in ResultChannelPlot.tsx in the effects block - main still has the old updateVisualMap effect and a new onChartClick effect.

Florence Berterottiere added 2 commits June 1, 2026 16:38
Copy link
Copy Markdown
Collaborator

@antti-ethz antti-ethz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebase seems fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Introduces changes to the web frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants