mathause / mplotutils

helper functions for cartopy and matplotlib
MIT License
18 stars 3 forks source link

fix and test map ticklabels #47

Closed mathause closed 1 year ago

mathause commented 1 year ago

Fix mpu.xticklabels and mpu.yticklabels for newer versions of shapely. Add tests.

This is currently a WIP as there is still something wrong with one of the tests. I might just fix this the easy way.

codecov-commenter commented 1 year ago

Codecov Report

Base: 82.75% // Head: 93.95% // Increases project coverage by +11.19% :tada:

Coverage data is based on head (cec04b4) compared to base (edb8e16). Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #47 +/- ## =========================================== + Coverage 82.75% 93.95% +11.19% =========================================== Files 6 6 Lines 319 331 +12 =========================================== + Hits 264 311 +47 + Misses 55 20 -35 ``` | Flag | Coverage Δ | | |---|---|---| | min-all-deps | `93.95% <60.00%> (+11.19%)` | :arrow_up: | | unittests | `93.95% <60.00%> (+11.19%)` | :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=Mathias+Hauser#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/mathause/mplotutils/pull/47?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mathias+Hauser) | Coverage Δ | | |---|---|---| | [mplotutils/cartopy\_utils.py](https://codecov.io/gh/mathause/mplotutils/pull/47?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mathias+Hauser#diff-bXBsb3R1dGlscy9jYXJ0b3B5X3V0aWxzLnB5) | `84.76% <60.00%> (+39.60%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mathias+Hauser). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mathias+Hauser)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.