Skip to content

Commit

Permalink
BUG: Fix mouseover behavior in Cubeviz
Browse files Browse the repository at this point in the history
spectrum viewer when spatial subset is present.

Co-authored-by: Duy Nguyen <duytnguyendtn.open@gmail.com>
  • Loading branch information
pllim and duytnguyendtn committed Jun 20, 2023
1 parent 1174347 commit df0ace8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Bug Fixes
Cubeviz
^^^^^^^

- Fixed mouseover not behaving properly in spectrum viewer when spatial subset is present. [#2258]

Imviz
^^^^^

Expand Down
2 changes: 1 addition & 1 deletion jdaviz/configs/imviz/plugins/coords_info/coords_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def _copy_axes_to_spectral():
sp = self.app._get_object_cache[cache_key]
else:
sp = self._specviz_helper.get_data(data_label=data_label,
spectral_subset=subset_label)
spatial_subset=subset_label)
self.app._get_object_cache[cache_key] = sp

# Calculations have to happen in the frame of viewer display units.
Expand Down

0 comments on commit df0ace8

Please sign in to comment.