glue-viz / glue-jupyter

Glue front-end for the Jupyter ecosystem
https://glue-jupyter.readthedocs.io/en/latest/
Other
88 stars 38 forks source link

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

Open astrofrog opened 5 months ago

astrofrog commented 5 months ago

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

astrofrog commented 5 months ago

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

Carifio24 commented 5 months ago

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 commented 5 months ago

@Carifio24 - ah interesting!