Skip to content
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

Limits not updating in profile and histogram viewer when enabling normalization #431

Open
astrofrog opened this issue May 16, 2024 · 3 comments
Labels

Comments

@astrofrog
Copy link
Member

When clicking on the normalize icon, the limits don't change - and one has to hit the 'home' icon to adjust the limits.

@astrofrog astrofrog added bug Something isn't working viewer-profile labels May 16, 2024
@astrofrog astrofrog changed the title Limits not updating in profile viewer when enabling normalization Limits not updating in profile and histogram viewer when enabling normalization May 16, 2024
@astrofrog
Copy link
Member Author

This also doesn't work when hitting the cumulative button in the histogram viewer

@Carifio24
Copy link
Member

This is the same issue that I noticed in #381. I didn't have time to pin down the exact cause, but I believe it's related to communication with the frontend widget since this problem doesn't occur if you set viewer.state.cumulative or viewer.state.normalize directly (e.g. in a code cell rather than using the widget button).

@astrofrog
Copy link
Member Author

@Carifio24 - ah interesting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants