-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fix type issue in plot options select_all #3366
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a change log since it is bug fix?
jdaviz/configs/default/plugins/plot_options/tests/test_plot_options.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3366 +/- ##
==========================================
- Coverage 88.77% 88.76% -0.01%
==========================================
Files 125 125
Lines 19235 19246 +11
==========================================
+ Hits 17075 17083 +8
- Misses 2160 2163 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fix a bug that came up when trying to select all layers in plot options when data is float32. The solution is to use the logic in on_glue_value_changed to handle updating mixed state, which takes care of the type issue.
(Need this fix for AAS demo notebook)