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

Customizable limits percentile and behavior on updating bins when resetting limits #2455

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

astrofrog
Copy link
Member

This makes it possible to specify the percentile to use when auto-determining limits, and makes it also possible to avoid resetting bins when calling reset_limits().

@astrofrog astrofrog force-pushed the customizable-limits-percentile branch from 9010c4d to f1410a6 Compare October 31, 2023 16:15
kecnry added a commit to astrofrog/jdaviz that referenced this pull request Oct 31, 2023
…e percentile to use when determining the min/max in reset_limits, and also added a property to the histogram state to determine whether bins are updated when calling reset_limits.
@dhomeier dhomeier force-pushed the customizable-limits-percentile branch from f1410a6 to bf5805a Compare November 14, 2023 21:15
Copy link
Collaborator

@dhomeier dhomeier left a comment

Choose a reason for hiding this comment

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

Code and tests look ok, taking spacetelescope/jdaviz#2529 (comment) as confirmation that this works.

@astrofrog astrofrog merged commit e5aadc8 into glue-viz:main Nov 14, 2023
22 of 23 checks passed
kecnry added a commit to spacetelescope/jdaviz that referenced this pull request Nov 16, 2023
* fix percentile and bins when resetting limits requires glue-viz/glue#2455
* update glue-core pin to v1.16.0

---------

Co-authored-by: P. L. Lim <[email protected]>
Co-authored-by: Kyle Conroy <[email protected]>
rosteen pushed a commit to rosteen/jdaviz that referenced this pull request Nov 29, 2023
* fix percentile and bins when resetting limits requires glue-viz/glue#2455
* update glue-core pin to v1.16.0

---------

Co-authored-by: P. L. Lim <[email protected]>
Co-authored-by: Kyle Conroy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants