-
Notifications
You must be signed in to change notification settings - Fork 441
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
Set default scalars for filters #2474
Conversation
I will keep this as draft until it is used in all the filters I can find. |
Codecov Report
@@ Coverage Diff @@
## main #2474 +/- ##
==========================================
- Coverage 93.72% 93.69% -0.03%
==========================================
Files 75 75
Lines 16120 16159 +39
==========================================
+ Hits 15108 15140 +32
- Misses 1012 1019 +7 |
…set-default-scalars
Since you're already working in this ballpark, I got this warning locally on
Probably just a matter of a manual |
Should be fixed in #2460. I'm tempted to merge that so we avoid duplication. |
It is weird to fix in #2460, I agree we don't need two semi related PRs that fix this. |
Agreed. It was bothering me, but I should have split it up. |
OK, so I think what @akaszynski fixed in #2460 was a doc build warning coming from https://github.com/pyvista/pyvista/pull/2460/files#diff-355952f3009b3d15d0d85ebb510556c3db59722b98c0d5c7d57abdb2b6ea5363L454 . What I said was a test run, somewhere in Ah, no, I missed the changed tests too in https://github.com/pyvista/pyvista/pull/2460/files#diff-14cb3a563d7f5dd0da9f56abbb5a24503d19670735bf67d24036f9524529caaeL1520 Might be all good, sorry for the noise. |
This is ready for review. When adding all the filters I could find, I noticed that some filters use |
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.
I added one final test, but otherwise this is good to go.
Overview
Followup to #2433, this time for scalars.
Details
Adding data to DataSets automatically makes them active, but it is still possible that there are no active scalars, e.g. if there is no data at all