Skip to content

Commit

Permalink
Update healpix map test images from new boundary changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Dec 28, 2024
1 parent d70dc04 commit bf39755
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified tests/data/healsparse_five.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/healsparse_one.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/healsparse_rec_array.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/data/healsparse_six.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/data/healsparse_two.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/test_healpix_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_healsparse_log_scale(tmp_path):
sp = skyproj.McBrydeSkyproj(ax=ax)
im, lon_raster, lat_raster, values_raster = sp.draw_hspmap(hspmap, norm="log")
sp.draw_colorbar()
fname = 'healsparse_five.png'
fname = 'healsparse_six.png'
fig.savefig(tmp_path / fname)
err = compare_images(os.path.join(ROOT, 'data', fname), tmp_path / fname, 40.0)
if err:
Expand Down Expand Up @@ -193,7 +193,7 @@ def test_healsparse_input_norm(tmp_path):
# This should ignore the input vmin/vmax if we set the norm.
im, lon_raster, lat_raster, values_raster = sp.draw_hspmap(hspmap, norm=norm, vmin=-100.0, vmax=-50.0)
sp.draw_colorbar()
fname = 'healsparse_five.png'
fname = 'healsparse_six.png'
fig.savefig(tmp_path / fname)
err = compare_images(os.path.join(ROOT, 'data', fname), tmp_path / fname, 40.0)
if err:
Expand Down

0 comments on commit bf39755

Please sign in to comment.