pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
466 stars 168 forks source link

Remove deprecated plotting options #266

Closed dnerini closed 2 years ago

dnerini commented 2 years ago

This PR introduces two main changes in the visualization module and its tests, namely:

Deprecated arguments

concerns keyword arguments to:

Must be passed to precip_kwargs instead:

Renamed:

codecov[bot] commented 2 years ago

Codecov Report

Merging #266 (32dddfe) into master (72f3bf5) will increase coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
+ Coverage   80.92%   80.98%   +0.05%     
==========================================
  Files         142      142              
  Lines       10758    10739      -19     
==========================================
- Hits         8706     8697       -9     
+ Misses       2052     2042      -10     
Flag Coverage Δ
unit_tests 80.98% <100.00%> (+0.05%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pysteps/visualization/animations.py 92.92% <ø> (+6.20%) :arrow_up:
pysteps/visualization/precipfields.py 83.84% <ø> (+1.13%) :arrow_up:
pysteps/tests/test_plt_animate.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 72f3bf5...32dddfe. Read the comment docs.