From e2fdace395e543718febaeedf8bc52f754c29472 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Tue, 19 Nov 2024 13:29:32 -0500 Subject: [PATCH] public methods to default to set_on_create=True --- jdaviz/configs/imviz/plugins/orientation/orientation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdaviz/configs/imviz/plugins/orientation/orientation.py b/jdaviz/configs/imviz/plugins/orientation/orientation.py index d4abd22972..350c98a7de 100644 --- a/jdaviz/configs/imviz/plugins/orientation/orientation.py +++ b/jdaviz/configs/imviz/plugins/orientation/orientation.py @@ -543,7 +543,7 @@ def _create_north_up_east_left(self, label="North-up, East-left", set_on_create= self.orientation.selected = label def create_north_up_east_left(self, label="North-up, East-left", - set_on_create=False): + set_on_create=True): """ Set the rotation angle and flip to achieve North up and East left according to the reference image WCS. @@ -568,7 +568,7 @@ def _create_north_up_east_right(self, label="North-up, East-right", set_on_creat self.orientation.selected = label def create_north_up_east_right(self, label="North-up, East-right", - set_on_create=False): + set_on_create=True): """ Set the rotation angle and flip to achieve North up and East right according to the reference image WCS.