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 MeshContainer.plot(), img = MeshContainer.screenshot() and ax = MeshContainer.imshow() #611

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

adtzlr
Copy link
Owner

@adtzlr adtzlr commented Feb 13, 2024

The default list of colors contains PyVista's default color as first item and then the list of matplotlib's named colors C1, C2, etc (excluding C0). The opacity of each mesh is set to 0.99.

also `.screenshot()` and `.imshow()`
@adtzlr adtzlr added the enhancement New feature or request label Feb 13, 2024
@adtzlr adtzlr self-assigned this Feb 13, 2024
@adtzlr adtzlr changed the title Add MeshContainer.plot(), img = MeshContainer.screenshot() and ax = MeshContainer.imshow(). Add MeshContainer.plot(), img = MeshContainer.screenshot() and ax = MeshContainer.imshow() Feb 13, 2024
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (0eda0ef) 97.92% compared to head (041e37c) 97.61%.

❗ Current head 041e37c differs from pull request most recent head 363123e. Consider uploading reports for the commit 363123e to get more accurate results

Files Patch % Lines
src/felupe/mesh/_container.py 44.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #611      +/-   ##
==========================================
- Coverage   97.92%   97.61%   -0.31%     
==========================================
  Files          90       90              
  Lines        4385     4410      +25     
==========================================
+ Hits         4294     4305      +11     
- Misses         91      105      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adtzlr adtzlr merged commit 99191cb into main Feb 13, 2024
6 checks passed
@adtzlr adtzlr deleted the add-meshcontainer-plot-screenshot-imshow branch February 13, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant