From a70ec655d47c1c75ae9f857c01c4fd5a64493a18 Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Fri, 12 Jul 2024 13:18:36 -0400 Subject: [PATCH] Use the default current unit from the cube --- jdaviz/configs/imviz/plugins/coords_info/coords_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/configs/imviz/plugins/coords_info/coords_info.py b/jdaviz/configs/imviz/plugins/coords_info/coords_info.py index 52936878f8..a0ac6ca9b1 100644 --- a/jdaviz/configs/imviz/plugins/coords_info/coords_info.py +++ b/jdaviz/configs/imviz/plugins/coords_info/coords_info.py @@ -66,7 +66,7 @@ def __init__(self, *args, **kwargs): self._marks = {} self._dict = {} # dictionary representation of current mouseover info self._x, self._y = None, None # latest known cursor positions - self.current_unit = None + self.current_unit = "MJy/sr" self.previous_unit = "MJy/sr" self.unit_changed = False # subscribe/unsubscribe to mouse events across all existing viewers