MTgeophysics / mtpy-v2

Tools to work with magnetotelluric transfer functions, based on MTH5 and mt-metadata. This is an update to mtpy.
https://mtpy-v2.readthedocs.io/en/latest/index.html
MIT License
22 stars 7 forks source link

Fix `plot_mt_response` bugs #25

Closed kujaku11 closed 2 months ago

kujaku11 commented 2 months ago

Cannot set limits for plots. Need to add flexibility for the user to control the axis limits.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 65.21739% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 27.09%. Comparing base (45feb7c) to head (fcddd8d).

Files Patch % Lines
mtpy/modeling/structured_mesh_3d.py 0.00% 10 Missing :warning:
mtpy/imaging/plot_mt_response.py 55.55% 4 Missing :warning:
mtpy/core/mt_data.py 50.00% 1 Missing :warning:
mtpy/core/mt_location.py 93.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #25 +/- ## ========================================== + Coverage 27.05% 27.09% +0.03% ========================================== Files 128 128 Lines 21794 21819 +25 ========================================== + Hits 5896 5911 +15 - Misses 15898 15908 +10 ``` | [Flag](https://app.codecov.io/gh/MTgeophysics/mtpy-v2/pull/25/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics) | Coverage Δ | | |---|---|---| | [tests](https://app.codecov.io/gh/MTgeophysics/mtpy-v2/pull/25/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics) | `27.09% <65.21%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics#carryforward-flags-in-the-pull-request-comment) to find out more.

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