Skip to content

Commit

Permalink
public methods to default to set_on_create=True
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 19, 2024
1 parent 340a75b commit e2fdace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdaviz/configs/imviz/plugins/orientation/orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit e2fdace

Please sign in to comment.