-
Notifications
You must be signed in to change notification settings - Fork 121
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
Homogenizing geometry API #2125
Conversation
@Gryfenfer97 can you have a look at the typing part? i am no expert so I would appreciate a lot your comments . |
Co-authored-by: Jamil Hajjar <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2125 +/- ##
==========================================
+ Coverage 80.82% 87.32% +6.49%
==========================================
Files 44 45 +1
Lines 7489 8203 +714
==========================================
+ Hits 6053 7163 +1110
+ Misses 1436 1040 -396 |
Fixing tests Updating slightly some examples
Simplying some stuff
Regarding PyVista, you can use My only commet is regarding the
If you don't really need to use if for that reason, you could also use |
Partial comments Co-authored-by: Kathy Pippert <[email protected]>
Second part. Co-authored-by: Kathy Pippert <[email protected]>
for more information, see https://pre-commit.ci
I dont think we do much filtering with keypoints but we do a lot of plotting. So I guess choosing Thank you for your feedback! |
Co-authored-by: Kathy Pippert <[email protected]>
Attemp to homogenise the
geometry
API. At the moment, different methodskeypoints
,lines
,areas
, etc return different objects.With this PR, all methods should return a
pyvista.MultiBlock
object which can be easily plotted, or even iterate to. This establishes a deeper connection with thepyvista
package.Discussion in here: #2125 (comment)