ubermag / discretisedfield

Python package for the analysis and visualisation of finite-difference fields.
http://ubermag.github.io
BSD 3-Clause "New" or "Revised" License
18 stars 13 forks source link

Add `VertexField` to support field data at vertices #511

Open swapneelap opened 11 months ago

github-actions[bot] commented 11 months ago

PR Analysis

How to use

Instructions

To invoke the PR-Agent, add a comment using one of the following commands: /review: Request a review of your Pull Request. /describe: Update the PR title and description based on the contents of the PR. /improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback. /ask \<QUESTION>: Ask a question about the PR. /update_changelog: Update the changelog based on the PR's contents. /add_docs: Generate docstring for new components introduced in the PR. /generate_labels: Generate labels for the PR based on the PR's contents. see the tools guide for more details.

To edit any configuration parameter from the configuration.toml, add --config_path=new_value. For example: /review --pr_reviewer.extra_instructions="focus on the file: ..." To list the possible configuration parameters, add a /config comment.

codecov-commenter commented 11 months ago

Codecov Report

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

Comparison is base (30bf3c7) 93.49% compared to head (43da142) 91.47%.

Files Patch % Lines
discretisedfield/vertex_field.py 33.33% 66 Missing :warning:
discretisedfield/field.py 73.91% 6 Missing :warning:
discretisedfield/cell_field.py 98.59% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #511 +/- ## ========================================== - Coverage 93.49% 91.47% -2.03% ========================================== Files 28 30 +2 Lines 3027 3154 +127 ========================================== + Hits 2830 2885 +55 - Misses 197 269 +72 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

swapneelap commented 11 months ago

@lang-m the hvplot should be working with the VertexField now. Play with it if you find some time and let me know if something looks odd.

PS: Thank you for setting up hv in a way that small modification to the to_xarray fixed the whole plotting for VertexField ๐Ÿ˜ƒ