diff --git a/CHANGES.rst b/CHANGES.rst index 603156c7b0..fbf734812b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -83,6 +83,8 @@ Bug Fixes - Fixed bug with Plot Options select_all when data is float32. [#3366] +- Fixed an issue with back-to-back calls of set_limits and get_limits. [#3371] + Cubeviz ^^^^^^^ diff --git a/jdaviz/configs/imviz/tests/test_viewers.py b/jdaviz/configs/imviz/tests/test_viewers.py index 69b6449bc9..4f8108ba8e 100644 --- a/jdaviz/configs/imviz/tests/test_viewers.py +++ b/jdaviz/configs/imviz/tests/test_viewers.py @@ -133,9 +133,3 @@ def test_viewer_limits(imviz_helper): viewer.set_limits(x_min=0, x_max=20, y_min=0, y_max=20) limits = viewer.get_limits() assert limits == (0, 20, 0, 20) - - # calling get_limits again should also return the same original limits, but - # it doesn't, uncomment once JDAT-5050 is done - # get limits again, make sure they are the same. - # limits = viewer.get_limits() - # assert limits == (0, 20, 0, 20)