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

Add center and move_to methods to RangeSubsetState #2404

Merged
merged 2 commits into from
May 15, 2023

Conversation

pllim
Copy link
Contributor

@pllim pllim commented May 13, 2023

Motivation: Jdaviz currently has to have special logic to calculate center for RangeSubsetState. But after #2391 , there is no reason for it not to be part of the unifed obj.center() API to get center.

@pllim pllim changed the title Add center method to RangeSubsetState Add center and move_to methods to RangeSubsetState May 13, 2023
Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@astrofrog astrofrog merged commit b8ff0b1 into glue-viz:main May 15, 2023
@pllim pllim deleted the range-cen branch May 15, 2023 11:27
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