Skip to content

Commit

Permalink
set bounding box to None to avoid layer cropping
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Dec 8, 2022
1 parent 17fe3a8 commit 9bd5e14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ Cubeviz
Imviz
^^^^^

- Fixes cropped image layer with WCS-linnking without fast-approximation. [#1908]



Mosviz
^^^^^^

Expand Down
1 change: 1 addition & 0 deletions jdaviz/configs/imviz/plugins/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def _parse_image(app, file_obj, data_label, ext=None):
data_iter = get_image_data_iterator(app, file_obj, data_label, ext=ext)

for data, data_label in data_iter:
data.coords.bounding_box = None
data_label = app.return_data_label(data_label, alt_name="image_data")
app.add_data(data, data_label)

Expand Down

0 comments on commit 9bd5e14

Please sign in to comment.