radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
95 stars 62 forks source link

Add function to show rendered dask array #797

Closed e-koch closed 2 years ago

e-koch commented 2 years ago

Adds cube.display_dask_array to show the nicely rendered chunk diagram from a dask array in a jupyter notebook without needing to access the dask.array object (#795 ):

image

codecov-commenter commented 2 years ago

Codecov Report

Merging #797 (f65519e) into master (c7281a7) will decrease coverage by 0.06%. The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #797      +/-   ##
==========================================
- Coverage   78.00%   77.94%   -0.07%     
==========================================
  Files          24       24              
  Lines        5847     5853       +6     
==========================================
+ Hits         4561     4562       +1     
- Misses       1286     1291       +5     
Impacted Files Coverage Δ
spectral_cube/dask_spectral_cube.py 84.94% <16.66%> (-0.71%) :arrow_down:

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 c7281a7...f65519e. Read the comment docs.