boutproject / xBOUT

Collects BOUT++ data from parallelized simulations into xarray.
https://xbout.readthedocs.io/en/latest/
Apache License 2.0
22 stars 10 forks source link

Move handling logscale argument to animate_pcolormesh, animate_poloidal #196

Closed johnomotani closed 3 years ago

johnomotani commented 3 years ago

Previously was implemented using a helper function in BoutDataset.animate_list, but provides more functionality (i.e. supports BoutDataArray.animate2D()) if moved into the animation utility routines instead.

codecov-commenter commented 3 years ago

Codecov Report

Merging #196 (780d29e) into master (787fefc) will increase coverage by 0.22%. The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
+ Coverage   74.83%   75.06%   +0.22%     
==========================================
  Files          14       14              
  Lines        2623     2615       -8     
  Branches      618      615       -3     
==========================================
  Hits         1963     1963              
+ Misses        428      421       -7     
+ Partials      232      231       -1     
Impacted Files Coverage Δ
xbout/boutdataset.py 75.68% <ø> (-0.36%) :arrow_down:
xbout/plotting/animate.py 41.81% <60.00%> (+2.62%) :arrow_up:
xbout/plotting/utils.py 75.24% <0.00%> (+0.99%) :arrow_up:

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 787fefc...780d29e. Read the comment docs.