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

Dev test fix take two #6

Closed
wants to merge 1 commit into from

Conversation

rosteen
Copy link

@rosteen rosteen commented Mar 28, 2024

After looking into the base Glue ScatterViewer state, it looks like it uses these attribute *_lim_helper rather than setting these values directly. Swapping out something similar here seems to fix the dev tests that were failing.

@rosteen rosteen force-pushed the dev-tests-take-two branch from e043085 to d83542c Compare March 28, 2024 16:47
Copy link
Owner

@kecnry kecnry left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for tracking this down! One small consideration, otherwise happy to get this in once CI passes.

I am concerned this is just a local workaround to an upstream issue, but we should at least get this in in the meantime so CI can continue.

Comment on lines -27 to +30
with delay_callback(self, f'{ax}_min', f'{ax}_max'):
setattr(self, f'{ax}_min', ax_min)
setattr(self, f'{ax}_max', ax_max)
lim_helper = getattr(self, f'{ax}_lim_helper')
lim_helper.lower = ax_min
lim_helper.upper = ax_max
lim_helper.update_values()
Copy link
Owner

Choose a reason for hiding this comment

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

would it hurt to still keep this in the delay_callback (would that still even do anything)?

@rosteen rosteen closed this Mar 28, 2024
@rosteen
Copy link
Author

rosteen commented Mar 28, 2024

Opening to main instead.

@kecnry kecnry mentioned this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants